summaryrefslogtreecommitdiff
path: root/gcc/ra-build.c
diff options
context:
space:
mode:
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-20 16:52:37 +0000
committermatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-20 16:52:37 +0000
commit7df0cf51e71917682fc397032f76ab2d3722bb05 (patch)
tree8601d2cc92ee927e3d7a137487fed3d8099b44f4 /gcc/ra-build.c
parent21d6e4ae7eba14121ef5db8f0a48829f0abf94dc (diff)
downloadgcc-7df0cf51e71917682fc397032f76ab2d3722bb05.tar.gz
* ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ra-build.c')
-rw-r--r--gcc/ra-build.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ra-build.c b/gcc/ra-build.c
index f54052e5dca..45183819618 100644
--- a/gcc/ra-build.c
+++ b/gcc/ra-build.c
@@ -2349,7 +2349,8 @@ remember_web_was_spilled (web)
reg_class_contents[reg_alternate_class (web->regno)]);
}
else
- COPY_HARD_REG_SET (web->usable_regs, reg_class_contents[(int) ALL_REGS]);
+ COPY_HARD_REG_SET (web->usable_regs,
+ reg_class_contents[(int) GENERAL_REGS]);
AND_COMPL_HARD_REG_SET (web->usable_regs, never_use_colors);
prune_hardregs_for_mode (&web->usable_regs, PSEUDO_REGNO_MODE (web->regno));
#ifdef CLASS_CANNOT_CHANGE_MODE