This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39666] [4.3/4.4/4.5 Regression] spurious warning with ranged-switch statements
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Apr 2009 14:18:00 -0000
- Subject: [Bug middle-end/39666] [4.3/4.4/4.5 Regression] spurious warning with ranged-switch statements
- References: <bug-39666-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-04-29 14:17 -------
With -O2 VRP should (since 4.4) "fix" this as well. That said, newer GCC
no longer need a default label.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39666