gcse.c (cprop_insn): Do not try to simplify a simple jump.

8
        * gcse.c (cprop_insn): Do not try to simplify a simple jump.

From-SVN: r26846
This commit is contained in:
Jeff Law 1999-05-09 06:25:03 -06:00
parent b0eb0fbd12
commit 6e9a3c382d

View File

@ -3749,7 +3749,9 @@ cprop_insn (insn, alter_jumps)
Note this does not currently handle machines which use cc0. */
else if (alter_jumps
&& GET_CODE (insn) == JUMP_INSN && condjump_p (insn))
&& GET_CODE (insn) == JUMP_INSN
&& condjump_p (insn)
&& ! simplejump_p (insn))
{
/* We want a copy of the JUMP_INSN so we can modify it
in-place as needed without effecting the original. */