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/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param


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.


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