re PR target/66047 (vlc compilation failure with target attribute)
authorJan Hubicka <hubicka@ucw.cz>
Wed, 13 May 2015 03:35:09 +0000 (05:35 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 13 May 2015 03:35:09 +0000 (03:35 +0000)
commite66fc62389b36c6f544d9960dc0acf08f9c55b37
tree305dd37a74f45200746b4c315e45feb7143fff32
parente4b5b3a5cb422662b1c4ef1102bf559082017ac3
re PR target/66047 (vlc compilation failure with target attribute)

PR target/66047
* i386.c (ix86_function_sseregparm): Only return -1 if local function
with implied regparm is called from -mno-sse function.
(init_cumulative_args): Output error if ix86_function_sseregparm
return -1 and SSE register would be needed.
(function_arg_advance_32): Likewise.
(function_arg_32): Likewise.
* i386.h (ix86_args): Add decl field.
* gcc.target/i386/pr66047.c: New testcase.

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