This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54140] -Wswitch shouldn't complain about out-of-range values that are cast to the correct type
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jul 2012 15:34:19 +0000
- Subject: [Bug c++/54140] -Wswitch shouldn't complain about out-of-range values that are cast to the correct type
- Auto-submitted: auto-generated
- References: <bug-54140-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54140
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-31 15:34:19 UTC ---
However changing the range of the enum doesn't make any difference, so please
ignore my comment!