re PR target/66275 (__attribute__((sysv_abi)) with x86_64-w64-mingw32-gcc generates...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 3 Jun 2015 15:46:41 +0000 (17:46 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 3 Jun 2015 15:46:41 +0000 (17:46 +0200)
commit27a0b7f2ee9689c9a0092a6403edacdcb7158516
tree2747f9a15d221bfbb9ad62dd70a5659cc7d7e05d
parentbc51ace3600b5c9b5dcad09f16858e5727866e27
re PR target/66275 (__attribute__((sysv_abi)) with x86_64-w64-mingw32-gcc generates incorrect code)

PR target/66275
* config/i386/i386.c (ix86_function_arg_regno): Use ix86_cfun_abi
to determine current function ABI.
(ix86_function_value_regno_p): Ditto.

testsuite/ChangeLog:

PR target/66275
* gcc.target/i386/pr66275.c: New test.

From-SVN: r224094
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr66275.c [new file with mode: 0644]