http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49090
Summary: provide a way to recognize defaulted template parameters Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: tro...@gcc.gnu.org Consider the test case: template<typename T1, typename T2 = int> struct K { T1 v1; T2 v2; }; K<int> k; K<double, double> k2; It would be nice if the resulting DWARF indicated that k's type had a defaulted template parameter. This way, GDB could optionally omit this parameter when displaying this type.