From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25467 invoked by alias); 29 Nov 2012 19:08:49 -0000 Received: (qmail 24551 invoked by uid 48); 29 Nov 2012 19:07:24 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/55466] [4.8 Regression] Revision 191466 destroyed DWARF debug info Date: Thu, 29 Nov 2012 19:08: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: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.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: 2012-11/txt/msg02905.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55466 --- Comment #6 from H.J. Lu 2012-11-29 19:07:23 UTC --- (In reply to comment #5) > Created attachment 28829 [details] > Proposed fix > > I suppose something across these lines should do the trick. I am not sure what > exactly is the codition for var to be needed to go through wrapup_global_decl. > Also I think types are usually going in there, too. It doesn't work: lto1: internal compiler error: Segmentation fault 0x994661 crash_signal /export/gnu/import/git/gcc/gcc/toplev.c:334 0x5206c8 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:37 0x522623 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:389 0x522539 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:380 0x5399ab gt_ggc_ma_gimple_type_leader ./gt-lto-lto.h:154 0x7419c4 ggc_mark_root_tab /export/gnu/import/git/gcc/gcc/ggc-common.c:138 0x741a74 ggc_mark_roots() /export/gnu/import/git/gcc/gcc/ggc-common.c:157 0x5433e5 ggc_collect() /export/gnu/import/git/gcc/gcc/ggc-page.c:2087 0x5388b4 read_cgraph_and_symbols /export/gnu/import/git/gcc/gcc/lto/lto.c:2993 0x5393c9 lto_main() /export/gnu/import/git/gcc/gcc/lto/lto.c:3383 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.