diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-18 11:16:46 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-18 11:16:46 +0000 |
commit | b14b6a139716db1dbbf016ee70fec9be6179cd11 (patch) | |
tree | f801201387c96e1b591dba51dce0cb194e8c777b /gcc/bb-reorder.c | |
parent | c179e76a3ddb2d937956121104a9527e0ee7830f (diff) | |
download | gcc-b14b6a139716db1dbbf016ee70fec9be6179cd11.tar.gz |
* 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
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r-- | gcc/bb-reorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |