This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49054] useless cmp+jmp generated for switch when "default:" is unreachable
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 May 2011 22:18:29 +0000
- Subject: [Bug middle-end/49054] useless cmp+jmp generated for switch when "default:" is unreachable
- Auto-submitted: auto-generated
- References: <bug-49054-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49054
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Component|c |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-05-18 22:09:25 UTC ---
a mips64-linux-gnu gcc produces wrong code for this testcase, removing the
whole jump table.