diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/cris/cris.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a7675e..fc0becf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-04-12 Jeff Law <law@redhat.com> + + * config/cris/cris.md (cris_preferred_reload_class): Return + GENNONACR_REGS rather than GENERAL_REGS. + 2017-04-12 Jakub Jelinek <jakub@redhat.com> PR c/80163 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; } |