* bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump
on jumps.
From-SVN: r150868
+2009-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump
+ on jumps.
+
2009-08-17 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.md (UNS_FSETB, UNS_FREIT): New.
fall_thru_label = block_label (fall_thru->dest);
- if (old_jump && fall_thru_label)
+ if (old_jump && JUMP_P (old_jump) && fall_thru_label)
invert_worked = invert_jump (old_jump,
fall_thru_label,0);
if (invert_worked)