This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Dodji Seketeli] Fix PR debug/46101


On 11/14/2010 01:18 PM, Dodji Seketeli wrote:
@@ -12883,7 +12905,7 @@ gen_generic_params_dies (tree t)
      return;

    if (TYPE_P (t))
-    die = lookup_type_die (t);
+    die = lookup_type_die_strip_naming_typedef (t);
    else if (DECL_P (t))
      die = lookup_decl_die (t);

This one shouldn't be necessary; you can't have an anonymous class template. Otherwise OK.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]