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: unassig...@gcc.gnu.org
        ReportedBy: tro...@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.

Reply via email to