Bug 55669 - [4.8 Regression] ICE : in cgraph_mark_address_taken_node, at cgraph.c:1409
Summary: [4.8 Regression] ICE : in cgraph_mark_address_taken_node, at cgraph.c:1409
Status: RESOLVED DUPLICATE of bug 55674
Alias: None
Product: gcc
Classification: Unclassified
Component: lto (show other bugs)
Version: 4.8.0
: P3 normal
Target Milestone: 4.8.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 08:05 UTC by Markus Trippelsdorf
Modified: 2012-12-13 19:10 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Trippelsdorf 2012-12-13 08:05:51 UTC
The following ICE happens during the last stage of a lto/pgo build of Firefox:

 internal compiler error: in cgraph_mark_address_taken_node, at cgraph.c:1409

I've managed to reduce the testcase from ~3000 input files to 34,
but unfortunately not further.


markus@x4 testcase % c++ -flto -fprofile-use -O2 @list
In file included from :3110:0:
/var/tmp/mozilla-central/content/base/src/nsDocument.cpp: In member function ‘CreateRange’:
/var/tmp/mozilla-central/content/base/src/nsDocument.cpp:4999:1: internal compiler error: in cgraph_mark_address_taken_node, at cgraph.c:1409
 nsDocument::CreateRange(nsIDOMRange** aReturn)
 ^
0x7f42dd0a08b4 __libc_start_main
        /var/tmp/glibc/csu/libc-start.c:258
0x4ad748 ???
        ../sysdeps/x86_64/start.S:123
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.0/c++ returned 1 exit status
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Comment 1 Markus Trippelsdorf 2012-12-13 08:10:38 UTC
The testcase is too big (16MB). You can find it here:
http://trippelsdorf.de/testcase.tar.bz2
Comment 2 Markus Trippelsdorf 2012-12-13 19:10:40 UTC
Dup. Fixed by the patch in PR55674.

*** This bug has been marked as a duplicate of bug 55674 ***