aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-03-12 18:37:39 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2018-03-12 18:37:39 +0100
commitdf4cfec5540bfb982bfec374346493bed6608fa4 (patch)
tree08da92b79cac1ae80062cf5a906b0c8ee8daf456 /gcc/gimple-fold.c
parent37f71cead0f506b45a46d817d38c51d7e7690aac (diff)
downloadgcc-df4cfec5540bfb982bfec374346493bed6608fa4.zip
gcc-df4cfec5540bfb982bfec374346493bed6608fa4.tar.gz
gcc-df4cfec5540bfb982bfec374346493bed6608fa4.tar.bz2
rs6000: sysv: Don't pass SFmode in varargs in FPRs
This makes the float32-basic.c testcase work on sysv (32-bit Linux). "float" is promoted to "double" for varargs. The ABI also only defines the use of double precision in varargs. But _Float32 is not promoted. Since there is no way of passing single-precision float in FPRs we should pass SFmode in GPRs (or memory) instead. This is similar to the 64-bit ABI. From-SVN: r258454
Diffstat (limited to 'gcc/gimple-fold.c')
0 files changed, 0 insertions, 0 deletions