From: Giovanni Bajo Date: Sat, 14 Feb 2004 02:11:22 +0000 (+0000) Subject: re PR c++/13927 (duplicated error message on bad redeclaration of anon union) X-Git-Tag: releases/gcc-4.0.0~10129 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7162281a3221c98be6c6c96b9cafe13feddcdad3;p=thirdparty%2Fgcc.git re PR c++/13927 (duplicated error message on bad redeclaration of anon union) PR c++/13927 * error.c (dump_decl) : Dump as simple declarations. From-SVN: r77787 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 572b774f7aa2..64018adbef65 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-02-13 Giovanni Bajo + + PR c++/13927 + * error.c (dump_decl) : Dump as simple declarations. + 2004-02-13 Mark Mitchell PR c++/14122 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 46500bc35205..ece263559484 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -791,6 +791,7 @@ dump_decl (tree t, int flags) /* Else fall through. */ case FIELD_DECL: case PARM_DECL: + case ALIAS_DECL: dump_simple_decl (t, TREE_TYPE (t), flags); break;