freebsd-dev/contrib
David Schultz d5ed956300 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@
2009-03-14 19:36:13 +00:00
..
amd - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
bc - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
bind9 Merge from vendor/bind9/dist as of the 9.4.3-P1 import 2009-01-09 11:45:45 +00:00
binutils Push mips support into the tree. 2008-12-11 08:22:20 +00:00
bsnmp Add an extra (void *) cast. The struct if_msghdr has an 8 byte 2009-02-18 19:59:27 +00:00
bzip2 - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
com_err - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
cpio - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
csup - Try to handle rcsfile write failures in the same way as cvsup, as they are not 2009-03-06 20:17:16 +00:00
cvs - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
diff - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
expat - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
file Add an additional COMPILE_ONLY check. 2009-01-02 03:31:45 +00:00
gcc Make gcc use C99 inline semantics in c99 and gnu99 mode. This was the 2009-03-14 19:36:13 +00:00
gcclibs - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
gdb gdb: Remove arm_pc_is_thumb_dummy() and related code. 2008-11-17 16:37:04 +00:00
gdtoa Remove some unused vendor files. 2009-03-04 03:45:02 +00:00
gnu-sort - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
gperf - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
groff - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
ipfilter This main goals of this project are: 2008-12-15 06:10:57 +00:00
less Make `less -R' not crash all the time. 2009-02-28 06:27:23 +00:00
libbegemot - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libf2c - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libobjc - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libpcap - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libreadline - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
libstdc++ - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
lukemftp - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
lukemftpd Prevent cross-site forgery attacks on lukemftpd(8) due to splitting 2009-01-07 20:17:55 +00:00
ncurses - Update instructions for Subversion import 2008-11-15 09:30:09 +00:00
netcat Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (no 2008-12-19 23:00:23 +00:00
ngatm - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
ntp Correct ntpd(8) cryptographic signature bypass [SA-09:04]. 2009-01-13 21:19:27 +00:00
nvi - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
one-true-awk - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
openbsm Update config.h for OpenBSM 1.1 beta1. 2009-03-03 11:57:29 +00:00
openpam Don't try to auto-detect dynamic linking; it fails on mips. The Makefile 2009-02-17 16:35:19 +00:00
opie - Remove non-existing reference 2009-01-30 15:43:55 +00:00
pam_modules/pam_passwdqc - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
pf - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
pnpinfo - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
sendmail Merge from vendor dist: Bring in a change already in the sendmail 2008-11-15 04:43:54 +00:00
smbfs Document the "-U" option. While it is not part of the 2009-01-22 08:29:39 +00:00
tcp_wrappers - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
tcpdump - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
tcsh Actually fix pty detection for autologout setting. 2008-10-20 08:44:14 +00:00
telnet Rename all symbols in libmp(3) to mp_*, just like Solaris. 2009-02-26 21:43:15 +00:00
texinfo - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
top Merge r183430 from vendor/top/dist to head/contrib/top, although with 2009-03-10 11:46:41 +00:00
traceroute - Import the HEAD csup code which is the basis for the cvsmode work. 2008-10-19 08:41:10 +00:00
wpa fix portability; linux does not have sa_len/sun_len 2009-03-13 19:05:34 +00:00