mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-03 10:29:44 +08:00
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:
parent
b0eb0fbd12
commit
6e9a3c382d
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user