mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
d5ed956300
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@ |
||
---|---|---|
.. | ||
include | ||
bugreport.texi | ||
c-tree.texi | ||
cfg.texi | ||
collect2.texi | ||
compat.texi | ||
configfiles.texi | ||
configterms.texi | ||
contrib.texi | ||
contribute.texi | ||
cpp.1 | ||
cpp.texi | ||
cppenv.texi | ||
cppinternals.texi | ||
cppopts.texi | ||
extend.texi | ||
fragments.texi | ||
frontends.texi | ||
gcc.1 | ||
gcc.texi | ||
gccint.texi | ||
gcov.1 | ||
gcov.texi | ||
gnu.texi | ||
gty.texi | ||
headerdirs.texi | ||
hostconfig.texi | ||
implement-c.texi | ||
interface.texi | ||
invoke.texi | ||
languages.texi | ||
libgcc.texi | ||
loop.texi | ||
makefile.texi | ||
md.texi | ||
objc.texi | ||
options.texi | ||
passes.texi | ||
portability.texi | ||
rtl.texi | ||
service.texi | ||
sourcebuild.texi | ||
standards.texi | ||
tm.texi | ||
tree-ssa.texi | ||
trouble.texi |