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       
[...]

Reply via email to