regmove.c (fixup_match_2): Only access call_used_regs with hard regs.
2011-12-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * regmove.c (fixup_match_2): Only access call_used_regs with hard regs. From-SVN: r182303
This commit is contained in:
parent
9e39c311c6
commit
7a0a573ad9
|
@ -1,3 +1,8 @@
|
|||
2011-12-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||
|
||||
* regmove.c (fixup_match_2): Only access call_used_regs with hard
|
||||
regs.
|
||||
|
||||
2011-12-09 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
Backport from mainline:
|
||||
|
|
|
@ -871,7 +871,7 @@ fixup_match_2 (rtx insn, rtx dst, rtx src, rtx offset)
|
|||
if (REG_N_CALLS_CROSSED (REGNO (src)) == 0)
|
||||
break;
|
||||
|
||||
if (call_used_regs [REGNO (dst)]
|
||||
if ((HARD_REGISTER_P (dst) && call_used_regs [REGNO (dst)])
|
||||
|| find_reg_fusage (p, CLOBBER, dst))
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue