Consider the short snippet:

template <int I> struct S {};
S<2> *s = 0;

The debug info generated for the S<2> type looks like:
~=~
.uleb128 0x2    # (DIE (0x2d) DW_TAG_structure_type)
.long   .LASF3  # DW_AT_name: "S<2>"
.byte   0x1     # DW_AT_declaration
~=~

There is no DW_TAG_template_value_param generated for it, for instance.


-- 
           Summary: missing DW_TAG_template_*_ in some cases
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dodji at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41736

Reply via email to