* parser.c (make_generic_type_name): Spell generic type names '<autoN>'
        rather than '__GenN'.
---
 gcc/cp/parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 148e2f2..a54496a 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -28902,7 +28902,7 @@ make_generic_type_name ()
 {
   char buf[32];
   static int i = 0;
-  sprintf (buf, "__GenT%d", i);
+  sprintf (buf, "<auto%d>", ++i);
   return get_identifier (buf);
 }
 
-- 
1.8.4

Reply via email to