------- Comment #3 from tromey at gcc dot gnu dot org  2010-07-21 15:19 -------
The ordinary cases work fine with svn trunk gcc.
However, member pointers still don't have all the info emitted.
Consider this test case:

struct S { int f; };
template<int S::*MP> struct T { };
T<&S::f> v;

For v's type, I just see:

 <2><4f>: Abbrev Number: 6 (DW_TAG_template_value_param)
    <50>   DW_AT_name        : MP       
    <53>   DW_AT_type        : <0x58>   

That is, this parameter has no value.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41736

Reply via email to