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 debug/57006] refer to DW_TAG_template_type_parameter for types coming from template parameters


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

Tom Tromey <tromey at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|extend DWARF to indicate    |refer to
                   |types coming from template  |DW_TAG_template_type_parame
                   |parameters                  |ter for types coming from
                   |                            |template parameters

--- Comment #1 from Tom Tromey <tromey at gcc dot gnu.org> ---
I was re-reading this section of the DWARF 4 standard and I no longer
think this is an extension request.

For function templates, from 3.3.7:

2.   The subprogram entry and each of its child entries reference a
template type parameter entry in any circumstance where the template
definition referenced a formal parameterized type.


Similarly, for classes, see 5.5.8 (3).

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