aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/symbol.c
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-03-20 16:43:21 +0000
committerPalmer Dabbelt <palmer@gcc.gnu.org>2017-03-20 16:43:21 +0000
commit801f04e010b85f6f3132476215be3f13e672dd2e (patch)
tree0f9d9bb773cc73d305413ea658406c94de71f06b /gcc/fortran/symbol.c
parente05a9f8e560a09d920555dec2960497dcb9e9ede (diff)
downloadgcc-801f04e010b85f6f3132476215be3f13e672dd2e.zip
gcc-801f04e010b85f6f3132476215be3f13e672dd2e.tar.gz
gcc-801f04e010b85f6f3132476215be3f13e672dd2e.tar.bz2
RISC-V: Don't prefer FP_REGS for integers
On RISC-V we can't store integers in floating-point registers as this is forbidden by the ISA. We've always disallowed this, but we were setting the preferred mode to FP_REGS for some integer modes. This caused the LRA to blow up with some hard to read error messages. This patch removes the prefered mode hook, as the right thing to do here is nothing. Thanks to Kito for finding the bug, and mpf for the fix. See also <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79912>. PR target/79912 From-SVN: r246283
Diffstat (limited to 'gcc/fortran/symbol.c')
0 files changed, 0 insertions, 0 deletions