mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-10 21:20:08 +08:00
do not propagate constants into jump_insn's for machines with CC0, more than once
From-SVN: r37039
This commit is contained in:
parent
5e2c51baa7
commit
d7836e38b7
@ -1,3 +1,8 @@
|
||||
2000-10-24 Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* gcse.c (cprop_insn): do not propagate constants into jump_insn
|
||||
for machines with CC0 more than once.
|
||||
|
||||
2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
|
||||
|
||||
* config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
|
||||
|
@ -3948,7 +3948,13 @@ cprop_insn (insn, alter_jumps)
|
||||
&& GET_CODE (NEXT_INSN (insn)) == JUMP_INSN
|
||||
&& condjump_p (NEXT_INSN (insn))
|
||||
&& ! simplejump_p (NEXT_INSN (insn)))
|
||||
changed |= cprop_cc0_jump (insn, reg_used, src);
|
||||
{
|
||||
if (cprop_cc0_jump (insn, reg_used, src))
|
||||
{
|
||||
changed = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if (GET_CODE (src) == REG
|
||||
|
Loading…
Reference in New Issue
Block a user