re PR target/57845 (ICE with -freg-struct-return on SPARC)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 10 Nov 2015 00:45:03 +0000 (00:45 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 10 Nov 2015 00:45:03 +0000 (00:45 +0000)
commitfbae25c0084e592c1e97fc0c8cf1650772d8c93a
treee102a1abb3a9716a05e485d07fc6c08fe10f2f01
parent3a40d81dcd1bae2c8dea064cdd0f28c9269813da
re PR target/57845 (ICE with -freg-struct-return on SPARC)

PR target/57845
* config/sparc/sparc.c (sparc_function_value_1): In 32-bit mode, do
not promote the mode for aggregate types.

From-SVN: r230074
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sparc/sparc-ret-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sparc/sparc-ret-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/sparc/sparc-ret.c [deleted file]