From 7162281a3221c98be6c6c96b9cafe13feddcdad3 Mon Sep 17 00:00:00 2001 From: Giovanni Bajo Date: Sat, 14 Feb 2004 02:11:22 +0000 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/error.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 572b774f7aa..64018adbef6 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 46500bc3520..ece26355948 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; -- 2.30.2