summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/c-cppbuiltin.c
Commit message (Collapse)AuthorAgeFilesLines
* Make gcc use C99 inline semantics in c99 and gnu99 mode. This was thedas2009-03-141-2/+6
| | | | | | | | | | | | | | | | | | | | | 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@
* GCC 4.2.0 release.kan2007-05-191-40/+198
|
* Gcc 3.4.2 20040728.kan2004-07-281-0/+591
OpenPOWER on IntegriCloud