]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* error.c (dump_type): Be careful about implicit typenames.
authorGabriel Dos Reis <gdr@codesourcery.com>
Wed, 1 May 2002 16:29:27 +0000 (16:29 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 1 May 2002 16:29:27 +0000 (16:29 +0000)
From-SVN: r53000

gcc/cp/ChangeLog
gcc/cp/error.c

index 9a2b59e59ea09815a828a5bf698e14995cf82b5a..74502d7de664aecdf9d711f88bf5702e81ce3a83 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * error.c (dump_type): Be careful about implicit typenames.
+
 2002-04-30  Mark Mitchell  <mark@codesourcery.com>
 
        ABI change, returning simple classes from functions.
index 60429b4c58ba5ac74d9bd3bd25dba2c6f37bfe4e..aa075ee1a640cbe024474e6991843b40fe25e1e0 100644 (file)
@@ -459,7 +459,8 @@ dump_type (t, flags)
       break;
     }
     case TYPENAME_TYPE:
-      output_add_string (scratch_buffer, "typename ");
+      if (IMPLICIT_TYPENAME_P (t))
+        output_add_string (scratch_buffer, "typename ");
       dump_typename (t, flags);
       break;