From: Jeff Law Date: Wed, 12 Apr 2017 14:58:23 +0000 (-0600) Subject: cris.md (cris_preferred_reload_class): Return GENNONACR_REGS rather than GENERAL_REGS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1abef483ebc3638e5e130253da65213027decaf;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a7675e10c2..fc0becfe49f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-04-12 Jeff Law + + * config/cris/cris.md (cris_preferred_reload_class): Return + GENNONACR_REGS rather than GENERAL_REGS. + 2017-04-12 Jakub Jelinek PR c/80163 diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index 21137bda9c6..8c134a6bc8b 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; }