re PR target/32963 (ICE in failed_reload, could not find a spill register)
PR target/32963 caller-save.c (reg_save_code): Set invalide status on restore code. From-SVN: r127523
This commit is contained in:
parent
336e494f86
commit
f81e79b5b4
@ -1,3 +1,8 @@
|
|||||||
|
2007-08-15 Steve Ellcey <sje@cup.hp.com>
|
||||||
|
|
||||||
|
PR target/32963
|
||||||
|
* caller-save.c (reg_save_code): Set invalide status on restore code.
|
||||||
|
|
||||||
2007-08-15 Diego Novillo <dnovillo@google.com>
|
2007-08-15 Diego Novillo <dnovillo@google.com>
|
||||||
|
|
||||||
* tree-ssa-alias.c (compute_memory_partitions): Use
|
* tree-ssa-alias.c (compute_memory_partitions): Use
|
||||||
|
@ -113,6 +113,7 @@ reg_save_code (int reg, enum machine_mode mode)
|
|||||||
if (!HARD_REGNO_MODE_OK (reg, mode))
|
if (!HARD_REGNO_MODE_OK (reg, mode))
|
||||||
{
|
{
|
||||||
cached_reg_save_code[reg][mode] = -1;
|
cached_reg_save_code[reg][mode] = -1;
|
||||||
|
cached_reg_restore_code[reg][mode] = -1;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,6 +125,7 @@ reg_save_code (int reg, enum machine_mode mode)
|
|||||||
|
|
||||||
/* Force re-recognition of the modified insns. */
|
/* Force re-recognition of the modified insns. */
|
||||||
INSN_CODE (saveinsn) = -1;
|
INSN_CODE (saveinsn) = -1;
|
||||||
|
INSN_CODE (restinsn) = -1;
|
||||||
|
|
||||||
cached_reg_save_code[reg][mode] = recog_memoized (saveinsn);
|
cached_reg_save_code[reg][mode] = recog_memoized (saveinsn);
|
||||||
cached_reg_restore_code[reg][mode] = recog_memoized (restinsn);
|
cached_reg_restore_code[reg][mode] = recog_memoized (restinsn);
|
||||||
|
Loading…
Reference in New Issue
Block a user