The following changes are already present on trunk as part of the fix for
PR44364. Not having them on 4.5 caused problems with the subject fix when trying
to spill FP regs with a stack > 32K.
Bootstrap/regtest 4.5 branch on powerpc with no new failures, ok for 4.5?
-Pat
2011-03-15 Pat Haugen <pthau...@us.ibm.com>
PR target/47862
* caller-save.c (insert_restore, insert_save): Use non-validate
form of adjust_address.
Index: gcc/caller-save.c
===================================================================
--- gcc/caller-save.c (revision 170999)
+++ gcc/caller-save.c (working copy)
@@ -1215,7 +1215,7 @@ insert_restore (struct insn_chain *chain
/* Check that insn to restore REGNO in save_mode[regno] is
correct. */
&& reg_save_code (regno, save_mode[regno]) >= 0)
- mem = adjust_address (mem, save_mode[regno], 0);
+ mem = adjust_address_nv (mem, save_mode[regno], 0);
else
mem = copy_rtx (mem);
@@ -1296,7 +1296,7 @@ insert_save (struct insn_chain *chain, i
/* Check that insn to save REGNO in save_mode[regno] is
correct. */
&& reg_save_code (regno, save_mode[regno]) >= 0)
- mem = adjust_address (mem, save_mode[regno], 0);
+ mem = adjust_address_nv (mem, save_mode[regno], 0);
else
mem = copy_rtx (mem);