From: Jakub Jelinek Date: Tue, 18 Aug 2009 11:16:46 +0000 (+0200) Subject: bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68a315304bedd286bcb99966ec7b3a3d21c0ccc0;p=platform%2Fupstream%2Fgcc.git bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps. * bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps. From-SVN: r150868 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 94e20b3..e684f7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-08-18 Jakub Jelinek + + * bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump + on jumps. + 2009-08-17 DJ Delorie * config/m32c/m32c.md (UNS_FSETB, UNS_FREIT): New. diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index d1a36c1..35b4f17 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -1420,7 +1420,7 @@ fix_up_fall_thru_edges (void) 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)