aboutsummaryrefslogtreecommitdiff
path: root/gcc/ra-build.c
diff options
context:
space:
mode:
authorno-author <no-author@gcc.gnu.org>2004-05-24 02:23:12 +0000
committerno-author <no-author@gcc.gnu.org>2004-05-24 02:23:12 +0000
commit3ff85b2c52e4db494c6facb65a5bd7768ccd8843 (patch)
tree5da6bbd60844f1cad239f017eebb97a849d3f35d /gcc/ra-build.c
parent03846eafd7c275b583a97c40554da04c978a110a (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-1755
'apple-gcc-1755'. git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-1755@82190 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ra-build.c')
-rw-r--r--gcc/ra-build.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ra-build.c b/gcc/ra-build.c
index 4f0eac0b166..8c2d1a0f448 100644
--- a/gcc/ra-build.c
+++ b/gcc/ra-build.c
@@ -2301,8 +2301,14 @@ remember_web_was_spilled (struct web *web)
reg_class_contents[reg_alternate_class (web->regno)]);
}
else
+/* APPLE LOCAL */
+#ifdef TARGET_POWERPC
+ COPY_HARD_REG_SET (web->usable_regs,
+ reg_class_contents[(int) NON_SPECIAL_REGS]);
+#else
COPY_HARD_REG_SET (web->usable_regs,
reg_class_contents[(int) GENERAL_REGS]);
+#endif
AND_COMPL_HARD_REG_SET (web->usable_regs, never_use_colors);
prune_hardregs_for_mode (&web->usable_regs, PSEUDO_REGNO_MODE (web->regno));
#ifdef CANNOT_CHANGE_MODE_CLASS