History log of /freebsd-10.0-release/contrib/gcc/c-decl.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 223715 01-Jul-2011 uqs

- Fix typo in check_for_nested_with_variably_modified present
- 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


# 190404 25-Mar-2009 das

Merge an important change that I mistakenly left out when merging C99
inline function support. This should fix instances where gcc
spuriously reports the following error:

error: nested function 'foo' declared but never defined


# 189824 14-Mar-2009 das

Make gcc use C99 inline semantics in c99 and gnu99 mode. This was the
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@


# 169699 19-May-2007 kan

FreeBSD uses unchanged versions of this files.


# 161660 26-Aug-2006 kan

Resolve conflicts after GCC 3.4.6 20060825 import.


# 149846 07-Sep-2005 obrien

Fix bug where static forward declarations weren't accepted.
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


# 146906 03-Jun-2005 kan

Stock files.


# 132730 28-Jul-2004 kan

Use stock version of this file.
Revision 1.3 to suppress warnings on K&R main is not useful anymore
since GCC suppresses such warnings unconditionally now.


# 122196 07-Nov-2003 kan

Merge r1.3 (suppress warnings on K&R main).


# 119268 22-Aug-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-release:
1.3 suppress warnings on K&R main.


# 117421 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.3 suppress warnings on K&R main.

Rev. 1.2 (options for kernel printf enhancements) changes have been
moved to another


# 110623 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.2 kernel printf enhancements framework.
1.3 suppress prototype warnings on K&R main.


# 107593 04-Dec-2002 obrien

Merge revs 1.2 (kernel printf framework) and 1.3 (suppress K&R main warnings)
into Gcc 3.2.1 release.


# 104761 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main

Approved by: obrien


# 102790 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main

Approved by: obrien


# 96557 13-May-2002 obrien

If you want to not warn on K&R main(); this is how it should be implemented.


# 96549 13-May-2002 obrien

Add framework for our kernel printf enhancements.


# 96490 13-May-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r96489,
which included commits to RCS files with non-trunk default branches.


# 96489 13-May-2002 obrien

Cause CVS to sync up checked out source bases with Gcc 3.1 bits after
the repo surgery to cut out the abortive Gcc 2.9[67] imports.


# 96263 09-May-2002 obrien

Gcc 3.1.0 pre-release from the FSF anoncvs repo on 9-May-2002 15:57:15 EDT.


# 90075 01-Feb-2002 obrien

Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.


# 72562 17-Feb-2001 obrien

Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3


# 57844 09-Mar-2000 obrien

Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of March 7th, 2000.


# 52284 16-Oct-1999 obrien

Virgin import of the GCC 2.95.1 compilers


# 50397 26-Aug-1999 obrien

Virgin import of gcc from EGCS 1.1.2


# 18334 18-Sep-1996 peter

Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the
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.