This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/51635] [4.7 regression] ICE in in dwarf2out_finish, at dwarf2out.c:22494 when building Firefox's libxul
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Dec 2011 15:47:01 +0000
- Subject: [Bug lto/51635] [4.7 regression] ICE in in dwarf2out_finish, at dwarf2out.c:22494 when building Firefox's libxul
- Auto-submitted: auto-generated
- References: <bug-51635-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51635
--- Comment #21 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-12-21 15:47:01 UTC ---
(In reply to comment #20)
> (In reply to comment #19)
> > Btw, one issue with merging based on DECL_SOURCE_LOCATION is that reducing
> > LTO testcases is going to be disrupted by source line changes. So for it
> > to be effective one would need to preserve #include directives and reduce
> > headers together with sources (ugh).
>
> Which means - can you check (on the original sources) whether just
> using the patch comparing DECL_SOURCE_LOCATION fixes the bug
> (yeah, and runs into the new bug...)
Yes, this patch alone fixes this bug. (and runs into the new one
from Comment 17)
(3.5 minutes CPU-time, 5GB RAM used, 3.1GB ltrans files written out)
BTW a quick debugging question:
Is it possible to tell lto1 to use partitions even when called
directly in a delta check script? (I have only 8GB of RAM
and calling lto1 directly uses ~15GB. (I've used a big swapfile
on my SSD when reduceing this bug))