[Bug target/57845] ICE with -freg-struct-return on SPARC
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 10 00:48:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57845
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Nov 10 00:47:28 2015
New Revision: 230076
URL: https://gcc.gnu.org/viewcvs?rev=230076&root=gcc&view=rev
Log:
PR target/57845
* config/sparc/sparc.c (sparc_function_value_1): In 32-bit mode, do
not promote the mode for aggregate types.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/sparc/sparc-ret-1.c
- copied unchanged from r228932,
branches/gcc-5-branch/gcc/testsuite/gcc.target/sparc/sparc-ret.c
branches/gcc-5-branch/gcc/testsuite/gcc.target/sparc/sparc-ret-2.c
- copied unchanged from r230074,
trunk/gcc/testsuite/gcc.target/sparc/sparc-ret-2.c
Removed:
branches/gcc-5-branch/gcc/testsuite/gcc.target/sparc/sparc-ret.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/sparc/sparc.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list