This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/64896] [5 Regression] ICE in get_address_mode, at rtlanal.c:5442
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Feb 2015 20:47:52 +0000
- Subject: [Bug ipa/64896] [5 Regression] ICE in get_address_mode, at rtlanal.c:5442
- Auto-submitted: auto-generated
- References: <bug-64896-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64896
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 6 20:47:20 2015
New Revision: 220489
URL: https://gcc.gnu.org/viewcvs?rev=220489&root=gcc&view=rev
Log:
PR ipa/64896
* cgraphunit.c (cgraph_node::expand_thunk): If
restype is not is_gimple_reg_type nor the thunk_fndecl
returns aggregate_value_p, set restmp to a temporary variable
instead of resdecl.
* g++.dg/ipa/pr64896.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ipa/pr64896.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphunit.c
trunk/gcc/testsuite/ChangeLog