]> gcc.gnu.org Git - gcc.git/commit
Fix miscompilation of Ada runtime on 64-bit SPARC
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 10 Mar 2021 11:02:14 +0000 (12:02 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Wed, 10 Mar 2021 11:32:03 +0000 (12:32 +0100)
commitda7343a6f48c6813a29640fec744b0a236b6540f
treee64e9e6be913d8c90467b51b6cf8328562552491
parente7afb82c358855510aa90ae9869663b614a732cb
Fix miscompilation of Ada runtime on 64-bit SPARC

Returning a REGMODE_NATURAL_SIZE of 4 for DFmode in 64-bit mode is
just asking for trouble because sub-word SUBREGs are always treated
differently than the others, in particular by the register allocator.

gcc/
* config/sparc/sparc.c (sparc_regmode_natural_size): Return 4 for
float and vector integer modes only if the mode is not larger.
gcc/config/sparc/sparc.c
This page took 0.052339 seconds and 5 git commands to generate.