From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27991 invoked by alias); 21 Dec 2011 15:47:19 -0000 Received: (qmail 27974 invoked by uid 22791); 21 Dec 2011 15:47:18 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BX,TW_IB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Dec 2011 15:47:04 +0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/51635] [4.7 regression] ICE in in dwarf2out_finish, at dwarf2out.c:22494 when building Firefox's libxul Date: Wed, 21 Dec 2011 15:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at trippelsdorf dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-12/txt/msg02376.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51635 --- Comment #21 from Markus Trippelsdorf 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))