http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41736
--- Comment #5 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-12-15 10:21:41 UTC --- (In reply to comment #3) > 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. I have opened PR debug/46955 to track this as I believe the bug you describe is slightly different from this one, even if they fall in the same category.