From b14b6a139716db1dbbf016ee70fec9be6179cd11 Mon Sep 17 00:00:00 2001 From: jakub Date: Tue, 18 Aug 2009 11:16:46 +0000 Subject: * bb-reorder.c (fix_up_fall_thru_edges): Only call invert_jump on jumps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150868 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/bb-reorder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/bb-reorder.c') diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index d1a36c13346..35b4f1724e4 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) -- cgit v1.2.1