This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/60439] No warning for case overflow in switch statement.
- From: "gary at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jun 2014 17:53:01 +0000
- Subject: [Bug c/60439] No warning for case overflow in switch statement.
- Auto-submitted: auto-generated
- References: <bug-60439-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60439
--- Comment #12 from Gary Funck <gary at intrepid dot com> ---
I submitted Bug #61480 documenting the interaction between Var() and Init().
The test case that I posted is abstracted from actual code. As far as which
switches should be default and/or enabled by -Wall, that question probably
needs further review.