re PR target/85667 (ms_abi rules aren't followed when returning short structs with...
authorMateusz B <mateuszb@poczta.onet.pl>
Wed, 27 Mar 2019 21:17:48 +0000 (22:17 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 27 Mar 2019 21:17:48 +0000 (22:17 +0100)
commit303d6cb2760304f5e6d00c4419c0dd1144588180
treebb241da0b2073b44c617d71faa037ac4cd1cf537
parent1509905e82c45228d431b41be32fe15fcb469393
re PR target/85667 (ms_abi rules aren't followed when returning short structs with float values)

PR target/85667
* config/i386/i386.c (ix86_function_value_1): Call the newly added
function for 32-bit MS_ABI.
(function_value_ms_32): New function.

testsuite/ChangeLog:

PR target/85667
* gcc.target/i386/pr85667-5.c: New testcase.
* gcc.target/i386/pr85667-6.c: New testcase.

From-SVN: r269979
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr85667-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr85667-6.c [new file with mode: 0644]