summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/c-decl.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fix typo in check_for_nested_with_variably_modified presentuqs2011-07-011-0/+2
| | | | | | | | | | - Implement -Wvariable-decl. - Port -Wtrampolines support from gcc3. (all three also via OpenBSD) PR: gnu/127136, gnu/157019 Submitted by: Henning Petersen, Pedro Giffuni MFC after: 6 weeks
* Merge an important change that I mistakenly left out when merging C99das2009-03-251-1/+3
| | | | | | | inline function support. This should fix instances where gcc spuriously reports the following error: error: nested function 'foo' declared but never defined
* Make gcc use C99 inline semantics in c99 and gnu99 mode. This was thedas2009-03-141-69/+133
| | | | | | | | | | | | | | | | | | | | | original intent, but the functionality wasn't implemented until after gcc 4.2 was released. However, if you compiled a program that would behave differently before and after this change, gcc 4.2 would have warned you; hence, everything currently in the base system is unaffected by this change. This patch also adds additional warnings about certain inline function-related bogosity, e.g., using a static non-const local variable in an inline function. These changes were merged from a snapshot of gcc mainline from March 2007, prior to the GPLv3 switch. I then ran the regression test suite from a more recent gcc snapshot and fixed the important bugs it found. I also squelched the following warning unless -pedantic is specified: foo is static but used in inline function bar which is not static This is consistent with LLVM's behavior, but not consistent with gcc 4.3. Reviewed by: arch@
* FreeBSD uses unchanged versions of this files.kan2007-05-191-2933/+4220
|
* Resolve conflicts after GCC 3.4.6 20060825 import.kan2006-08-261-32/+45
|
* Fix bug where static forward declarations weren't accepted.obrien2005-09-071-1/+4
| | | | | | | This allows us to fix non-ISO-C constructs in our kernel to legal ISO-C. Submitted by: rodrigc Obtained from: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00006.html
* Stock files.kan2005-06-031-11/+27
|
* Use stock version of this file.kan2004-07-281-3107/+2683
| | | | | Revision 1.3 to suppress warnings on K&R main is not useful anymore since GCC suppresses such warnings unconditionally now.
* Merge r1.3 (suppress warnings on K&R main).kan2003-11-071-10/+87
|
* Merge FreeBSD modifications into gcc 3.3.1-release:kan2003-08-221-0/+9
| | | | 1.3 suppress warnings on K&R main.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-948/+453
| | | | | | | 1.3 suppress warnings on K&R main. Rev. 1.2 (options for kernel printf enhancements) changes have been moved to another
* Merge FreeBSD modifications into gcc 3.2.2 release:kan2003-02-101-51/+3
| | | | | 1.2 kernel printf enhancements framework. 1.3 suppress prototype warnings on K&R main.
* Merge revs 1.2 (kernel printf framework) and 1.3 (suppress K&R main warnings)obrien2002-12-041-1/+1
| | | | into Gcc 3.2.1 release.
* Merge FreeBSD modifications into gcc 3.2.1-prerelease:kan2002-10-101-19/+4
| | | | | | | 1.2 kernel printf enchancements framework 1.3 suppress warnings on K&R main Approved by: obrien
* Merge FreeBSD modifications into gcc 3.2.1-prerelease:kan2002-09-011-8/+18
| | | | | | | 1.2 kernel printf enchancements framework 1.3 suppress warnings on K&R main Approved by: obrien
* If you want to not warn on K&R main(); this is how it should be implemented.obrien2002-05-141-1/+13
|
* Add framework for our kernel printf enhancements.obrien2002-05-141-0/+23
|
* Gcc 3.1.0 pre-release from the FSF anoncvs repo on 9-May-2002 15:57:15 EDT.obrien2002-05-091-155/+196
|
* Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.obrien2002-02-011-2228/+2235
| | | | These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
* Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3obrien2001-02-171-1/+2
|
* Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"obrien2000-03-091-0/+1
| | | | branch as of March 7th, 2000.
* Virgin import of the GCC 2.95.1 compilersobrien1999-10-161-173/+265
|
* Virgin import of gcc from EGCS 1.1.2obrien1999-08-261-281/+673
|
* Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of thepeter1996-09-181-0/+6967
non-i386, non-unix, and generatable files have been trimmed, but can easily be added in later if needed. gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's handy to have both available for reference for such little cost. The freebsd-specific changes will then be committed, and once the dust has settled, the bmakefiles will be committed to use this code.
OpenPOWER on IntegriCloud