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

--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> 
2011-02-03 15:21:02 UTC ---
g++ (GCC) 4.6.0 20110203 (experimental) with the Comment 2 patch

template <typename T>
class F {
  typedef struct { int i; } C;
  C a;
};
F<int> f;

->

 <1><2d>: Abbrev Number: 2 (DW_TAG_class_type)
    <2e>   DW_AT_name        : (indirect string, offset: 0x37): F<int>  
 <2><39>: Abbrev Number: 3 (DW_TAG_structure_type)
    <3a>   DW_AT_name        : C        

and DW_TAG_typedef gets completely lost in such case.

Reply via email to