From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26602 invoked by alias); 22 May 2013 14:00:58 -0000 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 Received: (qmail 26524 invoked by uid 48); 22 May 2013 14:00:48 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/57369] New: type-less DW_TAG_const_type Date: Wed, 22 May 2013 14:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg01549.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57369 Bug ID: 57369 Summary: type-less DW_TAG_const_type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: tromey at gcc dot gnu.org Created attachment 30161 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30161&action=edit test case I compiled the attached program with "g++ -g". I used git g++ from yesterday (ed89150ab33bd05799b31d31424cb50c2dd0b481) on x86-64 Fedora 18. The resulting DWARF has a DW_TAG_const_type that does not have a DW_AT_type attribute. This seems wrong. <1><245>: Abbrev Number: 16 (DW_TAG_const_type) <1><246>: Abbrev Number: 17 (DW_TAG_subprogram) <247> DW_AT_external : 1 [...]