]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/cp/error.c
84th Cygnus<->FSF merge
[gcc.git] / gcc / cp / error.c
index 3c1d9a2e959bd1c6b85c9260303e326232887666..99f72fba9dfa6b4bd9505b2160f6e68f861d6388 100644 (file)
@@ -209,7 +209,10 @@ dump_type (t, v)
       break;
 
     case TEMPLATE_TYPE_PARM:
-      OB_PUTID (TYPE_IDENTIFIER (t));
+      if (TYPE_IDENTIFIER (t))
+       OB_PUTID (TYPE_IDENTIFIER (t));
+      else
+       OB_PUTS ("{anonymous template type parm}");
       break;
 
       /* This is not always necessary for pointers and such, but doing this
@@ -941,6 +944,7 @@ dump_expr (t, nop)
     case FIELD_DECL:
     case CONST_DECL:
     case FUNCTION_DECL:
+    case TEMPLATE_DECL:
       dump_decl (t, -1);
       break;
 
This page took 0.027455 seconds and 5 git commands to generate.