This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/57006] refer to DW_TAG_template_type_parameter for types coming from template parameters
- From: "tromey at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Mar 2016 18:47:50 +0000
- Subject: [Bug debug/57006] refer to DW_TAG_template_type_parameter for types coming from template parameters
- Auto-submitted: auto-generated
- References: <bug-57006-4 at http dot gcc dot gnu dot org/bugzilla/>
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).