diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-03-07 16:46:59 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-03-07 15:46:59 +0000 |
commit | 4cdc2a35e5b66feec1e11b6a5a30bc4b15721513 (patch) | |
tree | f6ec56ef8fbfd4d601546bdb07c86e47c3fc9efc /gcc/reorg.c | |
parent | 0d48fcd1c9bfc79d69e77139913a9a5fde076fa8 (diff) | |
download | gcc-4cdc2a35e5b66feec1e11b6a5a30bc4b15721513.zip gcc-4cdc2a35e5b66feec1e11b6a5a30bc4b15721513.tar.gz gcc-4cdc2a35e5b66feec1e11b6a5a30bc4b15721513.tar.bz2 |
reorg.c (relax_delay_slots): Check that the jump is conditional before trying to invert it.
* reorg.c (relax_delay_slots): Check that the jump is
conditional before trying to invert it.
From-SVN: r96027
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 763f07b..09c8ea5 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3379,6 +3379,7 @@ relax_delay_slots (rtx first) annulled jumps, though. Again, don't convert a jump to a RETURN here. */ if (! INSN_ANNULLED_BRANCH_P (delay_insn) + && any_condjump_p (delay_insn) && next && JUMP_P (next) && (simplejump_p (next) || GET_CODE (PATTERN (next)) == RETURN) && next_active_insn (target_label) == next_active_insn (next) |