diff options
author | Lokesh Janghel <lokeshjanghel91@gmail.com> | 2018-11-21 20:09:56 +0000 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2018-11-21 21:09:56 +0100 |
commit | c339a8985df1288e569d550a1f22f50399e998e8 (patch) | |
tree | b98c691600b53a83320b00fbc928f17524f942b6 /gcc/function.c | |
parent | 99b5ace4696fa38118604cf80069c0c25f65c5ea (diff) | |
download | gcc-c339a8985df1288e569d550a1f22f50399e998e8.zip gcc-c339a8985df1288e569d550a1f22f50399e998e8.tar.gz gcc-c339a8985df1288e569d550a1f22f50399e998e8.tar.bz2 |
re PR target/85667 (ms_abi rules aren't followed when returning short structs with float values)
PR target/85667
* config/i386/i386.c (function_value_ms_64): Return AX_REG instead
of FIRST_SSE_REG for 4 or 8 byte modes.
testsuite/ChangeLog:
PR target/85667
* gcc.target/pr85667-1.c: New testcase.
* gcc.target/pr85667-2.c: New testcase.
* gcc.target/pr85667-3.c: New testcase.
* gcc.target/pr85667-4.c: New testcase.
From-SVN: r266355
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions