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))