diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-03-10 12:02:14 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-03-10 12:32:03 +0100 |
commit | da7343a6f48c6813a29640fec744b0a236b6540f (patch) | |
tree | e64e9e6be913d8c90467b51b6cf8328562552491 /gcc/fortran/trans-intrinsic.c | |
parent | e7afb82c358855510aa90ae9869663b614a732cb (diff) | |
download | gcc-da7343a6f48c6813a29640fec744b0a236b6540f.zip gcc-da7343a6f48c6813a29640fec744b0a236b6540f.tar.gz gcc-da7343a6f48c6813a29640fec744b0a236b6540f.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/trans-intrinsic.c')
0 files changed, 0 insertions, 0 deletions