diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-04-06 08:01:13 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-04-06 08:01:13 -0400 |
commit | de5292c79fae4bd643a7ed72c0f4a263eceffa89 (patch) | |
tree | 4448e75a467fd15a74902c375e30cb3dcee50e9e /gcc | |
parent | c5defebb1327cff5dbb383d5cf14d9a719994b16 (diff) | |
download | gcc-de5292c79fae4bd643a7ed72c0f4a263eceffa89.zip gcc-de5292c79fae4bd643a7ed72c0f4a263eceffa89.tar.gz gcc-de5292c79fae4bd643a7ed72c0f4a263eceffa89.tar.bz2 |
*** empty log message ***
From-SVN: r692
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/reorg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index f518fb8..c7bb797 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3110,6 +3110,9 @@ relax_delay_slots (first) target_label = follow_jumps (target_label, 1); target_label = prev_label (next_active_insn (target_label)); + if (target_label == 0) + target_label = find_end_label (); + if (next_active_insn (target_label) == next) { delete_jump (insn); @@ -3117,8 +3120,7 @@ relax_delay_slots (first) } if (target_label != JUMP_LABEL (insn)) - redirect_jump (insn, - target_label ? target_label : find_end_label ()); + redirect_jump (insn, target_label); /* See if this jump branches around a unconditional jump. If so, invert this jump and point it to the target of the |