summaryrefslogtreecommitdiff
path: root/gcc/config/cris
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-16 03:24:14 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-16 03:24:14 +0000
commitbd5035563faa351339daa967d9c8578e3cbaa32e (patch)
treebd07dee5a8a0f72d2f06c5e4be1dd7a1d2fbb8c9 /gcc/config/cris
parentc10efe6928a5e868da8b224c0391293f08ee38a6 (diff)
downloadgcc-bd5035563faa351339daa967d9c8578e3cbaa32e.tar.gz
* config/cris/cris.c (cris_preferred_reload_class):
Don't return GENERAL_REGS as preferred to MOF_SRP_REGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189506 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/cris')
-rw-r--r--gcc/config/cris/cris.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 71bb2760034..d5709b34b90 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -1550,6 +1550,7 @@ cris_preferred_reload_class (rtx x ATTRIBUTE_UNUSED, reg_class_t rclass)
{
if (rclass != ACR_REGS
&& rclass != MOF_REGS
+ && rclass != MOF_SRP_REGS
&& rclass != SRP_REGS
&& rclass != CC0_REGS
&& rclass != SPECIAL_REGS)