| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
inline function support. This should fix instances where gcc
spuriously reports the following error:
error: nested function 'foo' declared but never defined
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Revision 1.3 to suppress warnings on K&R main is not useful anymore
since GCC suppresses such warnings unconditionally now.
|
| |
|
|
|
|
| |
1.3 suppress warnings on K&R main.
|
|
|
|
|
|
|
| |
1.3 suppress warnings on K&R main.
Rev. 1.2 (options for kernel printf enhancements) changes have been
moved to another
|
|
|
|
|
| |
1.2 kernel printf enhancements framework.
1.3 suppress prototype warnings on K&R main.
|
|
|
|
| |
into Gcc 3.2.1 release.
|
|
|
|
|
|
|
| |
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main
Approved by: obrien
|
|
|
|
|
|
|
| |
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main
Approved by: obrien
|
| |
|
| |
|
| |
|
|
|
|
| |
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
|
| |
|
|
|
|
| |
branch as of March 7th, 2000.
|
| |
|
| |
|
|
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.
|