diff options
author | pfg <pfg@FreeBSD.org> | 2013-12-12 18:15:32 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-12-12 18:15:32 +0000 |
commit | 4bda5ad442033e7431a147e520f5977706e24fa2 (patch) | |
tree | 7b6b120517c1009026b40fb07c5e9346ae61871f /contrib/gcc/c.opt | |
parent | 465403a5cc91e82c71efd87f017455ae0609eb30 (diff) | |
download | FreeBSD-src-4bda5ad442033e7431a147e520f5977706e24fa2.zip FreeBSD-src-4bda5ad442033e7431a147e520f5977706e24fa2.tar.gz |
MFC r258081, r258138, r258143, r258179, r258157, r258204, 258205,
r258206, r258207, r258321
This is a series of commits inspired on Google's gcc-4.2.1 for
Android that were taken from the gcc pre-4.3 under the GPLv2.
gcc: Backport fixes for -W parentheses in C++
This fixes GCC 19564.
gcc: merge rs6000 change from FSF pre-gcc43
Don't set MASK_PPC_GFXOPT for 8540 or 8548.
Merge vrp-tree fix from gcc-4.3
Fix missed conversion from / to >> (GCC PR32521)
Merge in GCCr120505 to include definition of TREE_OVERFLOW_P
gcc: warn about integer overflow in constant expressions in the C++ frontend.
gcc: Add a new option -Wvla to warn variable length array.
libcpp: preprocessor speedup patches from upstream gcc.
gcc: add femit-struct-debug support to reduce Reduce dwarf debug size
gcc: Fix postreload-gcse treatment of call-clobbered registers.
gcc: Record some previous commits in the ChangeLog.gcc43 file.
Diffstat (limited to 'contrib/gcc/c.opt')
-rw-r--r-- | contrib/gcc/c.opt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/gcc/c.opt b/contrib/gcc/c.opt index 038fc51..820e5c9 100644 --- a/contrib/gcc/c.opt +++ b/contrib/gcc/c.opt @@ -432,6 +432,10 @@ Wvariadic-macros C ObjC C++ ObjC++ Do not warn about using variadic macros when -pedantic +Wvla +C ObjC C++ ObjC++ Var(warn_vla) Init(-1) Warning +Warn if a variable length array is used + Wwrite-strings C ObjC C++ ObjC++ Var(warn_write_strings) In C++, nonzero means warn about deprecated conversion from string literals to `char *'. In C, similar warning, except that the conversion is of course not deprecated by the ISO C standard. @@ -761,6 +765,18 @@ gen-decls ObjC ObjC++ Dump declarations to a .decl file +femit-struct-debug-baseonly +C ObjC C++ ObjC++ +-femit-struct-debug-baseonly Aggressive reduced debug info for structs + +femit-struct-debug-reduced +C ObjC C++ ObjC++ +-femit-struct-debug-reduced Conservative reduced debug info for structs + +femit-struct-debug-detailed= +C ObjC C++ ObjC++ Joined +-femit-struct-debug-detailed=<spec-list> Detailed reduced debug info for structs + idirafter C ObjC C++ ObjC++ Joined Separate -idirafter <dir> Add <dir> to the end of the system include path |