From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16303 invoked by alias); 3 Jan 2012 09:08:25 -0000 Received: (qmail 16292 invoked by uid 22791); 3 Jan 2012 09:08:24 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GD 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; Tue, 03 Jan 2012 09:08:11 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/51722] [4.7 Regression] Options "-g3" or "-ggdb3" or "-g3 -gdwarf-2" and other "-g..level3" - internal compiler error Date: Tue, 03 Jan 2012 09:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pch X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Status CC Component Target Milestone Summary 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-01/txt/msg00200.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722 Richard Guenther changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW CC| |dodji at gcc dot gnu.org Component|c++ |pch Target Milestone|--- |4.7.0 Summary|Options "-g3" or "-ggdb3" |[4.7 Regression] Options |or "-g3 -gdwarf-2" and |"-g3" or "-ggdb3" or "-g3 |other "-g..level3" - |-gdwarf-2" and other |internal compiler error |"-g..level3" - internal | |compiler error --- Comment #12 from Richard Guenther 2012-01-03 09:07:39 UTC --- Confirmed with the recipie in comment #8 (using glibc 2.11.1 headers). It's enough to use -g3 vs. -g2, suspect Dodji's work here. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff61f4f58 in *__GI___libc_free (mem=0x10000030b0) at malloc.c:3736 3736 malloc.c: No such file or directory. in malloc.c (gdb) up #1 0x00000000009cf9c7 in output_macinfo () at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:20940 20940 free (CONST_CAST (char *, ref->info)); (gdb) p *ref $2 = {code = 5 '\005', lineno = 1, info = 0x10000030b0 "__STDC__ 1"}