This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/66116] New: no DW_TAG_template_type_parameter for template instantiation


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66116

            Bug ID: 66116
           Summary: no DW_TAG_template_type_parameter for template
                    instantiation
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chihin.ko at oracle dot com
  Target Milestone: ---

Created attachment 35520
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35520&action=edit
test case

For attached std_list_iterators.cc, there is no DW_TAG_template_type_parameter
for DW_TAG_class_type  "allocator<int>" :

< 2><0x00003bd7>      DW_TAG_class_type
                        DW_AT_name                  "allocator<int>"
                        DW_AT_byte_size             0x00000001
                        DW_AT_decl_file             0x00000006 allocator.h
                        DW_AT_decl_line             0x0000005c
                        DW_AT_sibling               <0x00003cbc>
< 3><0x00003be3>        DW_TAG_inheritance
                          DW_AT_type                  <0x000080f8>
                          DW_AT_data_member_location  DW_OP_plus_uconst 0
                          DW_AT_accessibility         DW_ACCESS_public
< 3><0x00003bec>        DW_TAG_typedef
                          DW_AT_name                  "reference"
                          DW_AT_decl_file             0x00000006 allocator.h
                          DW_AT_decl_line             0x00000063
                          DW_AT_type                  <0x00008ee9>
...
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]