diff options
author | Nick Clifton <nickc@redhat.com> | 2007-02-21 15:40:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2007-02-21 15:40:29 +0000 |
commit | 21af5cdfe26153b6bc6f388776d8530b5c2f5524 (patch) | |
tree | b4e1bdb543ccd5a11afd45badf54f8f4db2796ef | |
parent | 551d69292f127eb1625d3d4f56d57049876c581f (diff) | |
download | gcc-21af5cdfe26153b6bc6f388776d8530b5c2f5524.zip gcc-21af5cdfe26153b6bc6f388776d8530b5c2f5524.tar.gz gcc-21af5cdfe26153b6bc6f388776d8530b5c2f5524.tar.bz2 |
common.opt (Warray-bounds): Add Warning attribute.
* common.opt (Warray-bounds): Add Warning attribute.
(Wstrict-overflow, Wstrict-overflow=, Wcoverage-mismatch): Likewise.
(fsized-zeroes): Add Optimization attribute.
(fsplit-wide-types, ftree-scev-cprop): Likewise.
* c.opt (Wc++0x-compat): Add Warning attribute.
From-SVN: r122200
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/c.opt | 2 | ||||
-rw-r--r-- | gcc/common.opt | 14 |
3 files changed, 17 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59d93bb..bd362ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2007-02-21 Nick Clifton <nickc@redhat.com> + + * common.opt (Warray-bounds): Add Warning attribute. + (Wstrict-overflow, Wstrict-overflow=, Wcoverage-mismatch): + Likewise. + (fsized-zeroes): Add Optimization attribute. + (fsplit-wide-types, ftree-scev-cprop): Likewise. + * c.opt (Wc++0x-compat): Add Warning attribute. + 2007-02-21 Ulrich Weigand <uweigand@de.ibm.com> PR middle-end/30761 @@ -137,7 +137,7 @@ C Var(warn_cxx_compat) Warning Warn about C constructs that are not in the common subset of C and C++ Wc++0x-compat -C++ ObjC++ Var(warn_cxx0x_compat) +C++ ObjC++ Var(warn_cxx0x_compat) Warning Warn about C++ constructs whose meaning differs between ISO C++ 1998 and ISO C++ 200x Wcast-qual diff --git a/gcc/common.opt b/gcc/common.opt index 1be3b74..30649a6 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -75,7 +75,7 @@ Common Var(warn_aggregate_return) Warning Warn about returning structures, unions or arrays Warray-bounds -Common Var(warn_array_bounds) +Common Var(warn_array_bounds) Warning Warn if an array is accessed out of bounds Wattributes @@ -155,11 +155,11 @@ Common Joined UInteger Warning Warn about code which might break strict aliasing rules Wstrict-overflow -Common +Common Warning Warn about optimizations that assume that signed overflow is undefined Wstrict-overflow= -Common Joined UInteger +Common Joined UInteger Warning Warn about optimizations that assume that signed overflow is undefined Wswitch @@ -215,7 +215,7 @@ Common Var(warn_register_var) Warning Warn when a register variable is declared volatile Wcoverage-mismatch -Common RejectNegative Var(warn_coverage_mismatch) +Common RejectNegative Var(warn_coverage_mismatch) Warning Warn instead of error in case profiles in -fprofile-use do not match aux-info @@ -867,7 +867,7 @@ Common Report Var(flag_signaling_nans) Optimization Disable optimizations observable by IEEE signaling NaNs fsigned-zeros -Common Report Var(flag_signed_zeros) Init(1) +Common Report Var(flag_signed_zeros) Init(1) Optimization Disable floating point optimizations that ignore the IEEE signedness of zero fsingle-precision-constant @@ -879,7 +879,7 @@ Common Report Var(flag_split_ivs_in_unroller) Init(1) Optimization Split lifetimes of induction variables when loops are unrolled fsplit-wide-types -Common Report Var(flag_split_wide_types) +Common Report Var(flag_split_wide_types) Optimization Split wide types into independent registers fvariable-expansion-in-unroller @@ -1102,7 +1102,7 @@ Common RejectNegative Joined -ftree-vectorizer-verbose=<number> Set the verbosity level of the vectorizer ftree-scev-cprop -Common Report Var(flag_tree_scev_cprop) Init(1) +Common Report Var(flag_tree_scev_cprop) Init(1) Optimization Enable copy propagation of scalar-evolution information. ; -fverbose-asm causes extra commentary information to be produced in |