This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param
- 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, 10 Jun 2011 16:09:29 +0000
- Subject: [Bug debug/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49366
Summary: pointer-to-member-function not given value in
DW_TAG_template_value_param
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: tromey@gcc.gnu.org
Consider this source:
struct S { void f() { } };
template<void (S::*F) ()> struct T { };
T<&S::f> v;
The DWARF for F is:
<2><50>: Abbrev Number: 7 (DW_TAG_template_value_param)
<51> DW_AT_name : F
<53> DW_AT_type : <0x68>
That is, it has a type but no value.