]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c/60439 (No warning for case overflow in switch statement.)
authorMarek Polacek <polacek@redhat.com>
Mon, 16 Jun 2014 12:38:07 +0000 (12:38 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 16 Jun 2014 12:38:07 +0000 (12:38 +0000)
PR c/60439
* c.opt (Wswitch-bool): Add Var.

From-SVN: r211707

gcc/c-family/ChangeLog
gcc/c-family/c.opt

index 0348310f0947bdfcb6d64a1902b3e77ac8f99ab9..ffa94ebacf6e47c639fe0684b47b7a7d2face964 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-16  Marek Polacek  <polacek@redhat.com>
+
+       PR c/60439
+       * c.opt (Wswitch-bool): Add Var.
+
 2014-06-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/61486
index d2e047fc877ff560fdaf29f8d416a2fa9a5fd42c..91f8275ef145bffe5ded0e5545f7dff121d4dc0c 100644 (file)
@@ -543,7 +543,7 @@ C ObjC C++ ObjC++ Var(warn_switch_enum) Warning
 Warn about all enumerated switches missing a specific case
 
 Wswitch-bool
-C ObjC C++ ObjC++ Warning Init(1)
+C ObjC C++ ObjC++ Var(warn_switch_bool) Warning Init(1)
 Warn about switches with boolean controlling expression
 
 Wmissing-format-attribute