aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/cris
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2017-04-12 08:58:23 -0600
committerJeff Law <law@gcc.gnu.org>2017-04-12 08:58:23 -0600
commite1abef483ebc3638e5e130253da65213027decaf (patch)
tree52b00304d687197c174d7566af4dd9b9bffc52a5 /gcc/config/cris
parent76873758402927ca5fca67abc018eab862fd1b96 (diff)
downloadgcc-e1abef483ebc3638e5e130253da65213027decaf.zip
gcc-e1abef483ebc3638e5e130253da65213027decaf.tar.gz
gcc-e1abef483ebc3638e5e130253da65213027decaf.tar.bz2
cris.md (cris_preferred_reload_class): Return GENNONACR_REGS rather than GENERAL_REGS.
* config/cris/cris.md (cris_preferred_reload_class): Return GENNONACR_REGS rather than GENERAL_REGS. From-SVN: r246877
Diffstat (limited to 'gcc/config/cris')
-rw-r--r--gcc/config/cris/cris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c
index 21137bd..8c134a6 100644
--- a/gcc/config/cris/cris.c
+++ b/gcc/config/cris/cris.c
@@ -1597,7 +1597,7 @@ cris_preferred_reload_class (rtx x ATTRIBUTE_UNUSED, reg_class_t rclass)
&& rclass != SRP_REGS
&& rclass != CC0_REGS
&& rclass != SPECIAL_REGS)
- return GENERAL_REGS;
+ return GENNONACR_REGS;
return rclass;
}