From: Gabriel Dos Reis Date: Wed, 1 May 2002 16:29:27 +0000 (+0000) Subject: * error.c (dump_type): Be careful about implicit typenames. X-Git-Tag: releases/gcc-3.1.0~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb305d5be67afbf4a07ee80b43fc9727bbfcbe2;p=thirdparty%2Fgcc.git * error.c (dump_type): Be careful about implicit typenames. From-SVN: r53000 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9a2b59e59ea0..74502d7de664 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-05-01 Gabriel Dos Reis + + * error.c (dump_type): Be careful about implicit typenames. + 2002-04-30 Mark Mitchell ABI change, returning simple classes from functions. diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 60429b4c58ba..aa075ee1a640 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -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;