This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44071] ICE with asm goto and __builtin_unreachable()
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2010 12:18:11 -0000
- Subject: [Bug middle-end/44071] ICE with asm goto and __builtin_unreachable()
- References: <bug-44071-3556@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jakub at gcc dot gnu dot org 2010-05-11 12:18 -------
Created an attachment (id=20627)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20627&action=view)
gcc46-pr44071.patch
Updated patch that fixes the rest of the issues. The reason why testcase
without __builtin_unreachable didn't work is that then one of the labels in the
asm goto happened to be the same as fallthru bb label. When gcc tried to
insert queued insns on that edge, it saw it is a fallthru edge and thus didn't
adjust the asm goto.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20626|0 |1
is obsolete| |
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44071