Commit 5c3d09f7 by Marek Polacek Committed by Marek Polacek

re PR c/60439 (No warning for case overflow in switch statement.)

	PR c/60439
	* c.opt (Wswitch-bool): Add Var.

From-SVN: r211707
parent 9a9b31a2
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment