From 21af5cdfe26153b6bc6f388776d8530b5c2f5524 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 21 Feb 2007 15:40:29 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 9 +++++++++ gcc/c.opt | 2 +- gcc/common.opt | 14 +++++++------- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59d93bb9962..bd362ff3367 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2007-02-21 Nick Clifton + + * 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 PR middle-end/30761 diff --git a/gcc/c.opt b/gcc/c.opt index c384f52b3a4..aea783f6423 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -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 1be3b748d01..30649a649a5 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= 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 -- 2.30.2