This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build
- From: "andi-gcc at firstfloor dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Oct 2011 04:05:52 +0000
- Subject: [Bug tree-optimization/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build
- Auto-submitted: auto-generated
- References: <bug-50602-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602
--- Comment #6 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-10-09 04:05:52 UTC ---
i changed the code now to save ret_val in a volatile global.
This is a bit better
(gdb) p saved_ret_val
$5 = (volatile tree) 0x2afc557b68c0
(gdb) p result
$6 = (tree_node *) 0x2afbfb754a00
Still not sure how to print them, maybe stderr is broken.
Looking at raw output I see one of them is a VAR_DECL and the other
a RESULT_DECL
(gdb) p result->decl_minimal.uid
$9 = 83837
(gdb) p saved_ret_val->decl_minimal.uid
$10 = 3599083
(gdb) p cfun->decl->decl_minimal.uid
$3 = 83835
Searching for the second uid in the dump files I see it first in
045i.whole-program:
<bb 7>:
return D.3599083;
and the first doesn't appear in any file (that means the current pass added
it?)
The third is first in 049.inline