[Bug debug/49348] New: DW_TAG_template_* DIEs missing from template specializations
dodji at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 9 18:38:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49348
Summary: DW_TAG_template_* DIEs missing from template
specializations
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dodji@gcc.gnu.org
In the test below from gcc/testsuite/g++.dg/debug/dwarf2/typedef1.C, the DIE
sub-tree of the type foo<1> doesn't have any DW_TAG_template_* DIE:
template <unsigned int n>
struct foo
{
public:
typedef
unsigned char type;
};
template<>
struct foo<1>
{
typedef enum { e0, e1 } type;
};
int
main()
{
foo<1> f;
foo<1>::type t = foo<1>::e1;
return t;
}
More information about the Gcc-bugs
mailing list