http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49090
--- Comment #7 from Tom Tromey <tromey at gcc dot gnu.org> 2013-02-01 18:18:01 UTC --- (In reply to comment #6) > What do you think about G++ (also) switching to emitting K<int> for DW_AT_name > in this case? Would that break GDB type compatibility with other translation > units that had K<int,int>? Yeah, I think it may confuse name lookup in other cases. For example, I think methods of this class will still appear to be in K<int,int>, because that will still be baked into the mangled form. So this would mean that finding a method's class would fail. Come to think of it I'm not sure how I will make "ptype K<int>" work given the current state of gdb's symbol tables. Baby steps...