------- 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