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 02:31:38 +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 #5 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-10-09 02:31:38 UTC ---
Looked at this now again
debug_function doesn't work. TDF_UID was also not available, but i hardcoded
it.
(gdb) call debug_function (cfun->decl, 1<<8)
(gdb)
neither the other call
(gdb) call print_generic_expr(stderr, result, 1 << 8)
(gdb)
Looking at the code
0x000000000075a827 <tree_nrv()+311>: test %rax,%rax
0x000000000075a82a <tree_nrv()+314>: je 0x75a7f2 <gsi_next>
0x000000000075a82c <tree_nrv()+316>: cmp %rax,%rbx
0x000000000075a82f <tree_nrv()+319>: je 0x75a7f2 <gsi_next>
0x000000000075a831 <tree_nrv()+321>: mov $0xbe3bb7,%edx
0x000000000075a836 <tree_nrv()+326>: mov $0x9b,%esi
0x000000000075a83b <tree_nrv()+331>: mov $0xbe3b7a,%edi
0x000000000075a840 <tree_nrv()+336>: callq 0xb488e0 <fancy_abort(char
const*, int, char const*)>
0x000000000075a845 <tree_nrv()+341>: nopl (%rax)
I'm in the fancy_abort
When I go up and print $rax I get 0
(gdb) p $rax
$11 = 0
But this cannot be because the test tested it for 0. Perhaps the
unwind information below is wrong?