OSDN Git Service

* common.opt (Warray-bounds): Add Warning attribute.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Feb 2007 15:40:29 +0000 (15:40 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Feb 2007 15:40:29 +0000 (15:40 +0000)
  (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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122200 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c.opt
gcc/common.opt

index 59d93bb..bd362ff 100644 (file)
@@ -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
index c384f52..aea783f 100644 (file)
--- 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
index 1be3b74..30649a6 100644 (file)
@@ -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