diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-08-18 13:16:46 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-08-18 13:16:46 +0200 |
commit | 68a315304bedd286bcb99966ec7b3a3d21c0ccc0 (patch) | |
tree | f801201387c96e1b591dba51dce0cb194e8c777b /gcc/bb-reorder.c | |
parent | fb3e79b2b3418933e13d51bab71920f5a2baf9b6 (diff) | |
download | gcc-68a315304bedd286bcb99966ec7b3a3d21c0ccc0.zip gcc-68a315304bedd286bcb99966ec7b3a3d21c0ccc0.tar.gz gcc-68a315304bedd286bcb99966ec7b3a3d21c0ccc0.tar.bz2 |
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
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 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) |