Commit 6e9a3c38 by Jeff Law

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
parent b0eb0fbd
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment