Commit f81e79b5 by Steve Ellcey Committed by Steve Ellcey

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
parent 336e494f
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>
* 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))
{
cached_reg_save_code[reg][mode] = -1;
cached_reg_restore_code[reg][mode] = -1;
return -1;
}
......@@ -124,6 +125,7 @@ reg_save_code (int reg, enum machine_mode mode)
/* Force re-recognition of the modified insns. */
INSN_CODE (saveinsn) = -1;
INSN_CODE (restinsn) = -1;
cached_reg_save_code[reg][mode] = recog_memoized (saveinsn);
cached_reg_restore_code[reg][mode] = recog_memoized (restinsn);
......
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