This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/57845] ICE with -freg-struct-return on SPARC
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Nov 2015 00:45:36 +0000
- Subject: [Bug target/57845] ICE with -freg-struct-return on SPARC
- Auto-submitted: auto-generated
- References: <bug-57845-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57845
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Nov 10 00:45:03 2015
New Revision: 230074
URL: https://gcc.gnu.org/viewcvs?rev=230074&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:
trunk/gcc/testsuite/gcc.target/sparc/sparc-ret-1.c
- copied unchanged from r230016,
trunk/gcc/testsuite/gcc.target/sparc/sparc-ret.c
trunk/gcc/testsuite/gcc.target/sparc/sparc-ret-2.c
Removed:
trunk/gcc/testsuite/gcc.target/sparc/sparc-ret.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/sparc.c
trunk/gcc/testsuite/ChangeLog