aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>2004-02-14 02:11:22 +0000
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>2004-02-14 02:11:22 +0000
commit7162281a3221c98be6c6c96b9cafe13feddcdad3 (patch)
treef3d446fe4c154d7021645ca0a5b7402d515f7a36 /gcc/cp
parent0e8c9b28a1a4ea9d542dade50f4f07a74ccfbe64 (diff)
downloadgcc-7162281a3221c98be6c6c96b9cafe13feddcdad3.zip
gcc-7162281a3221c98be6c6c96b9cafe13feddcdad3.tar.gz
gcc-7162281a3221c98be6c6c96b9cafe13feddcdad3.tar.bz2
re PR c++/13927 (duplicated error message on bad redeclaration of anon union)
PR c++/13927 * error.c (dump_decl) <ALIAS_DECL>: Dump as simple declarations. From-SVN: r77787
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/error.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 572b774..64018ad 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-13 Giovanni Bajo <giovannibajo@gcc.gnu.org>
+
+ PR c++/13927
+ * error.c (dump_decl) <ALIAS_DECL>: Dump as simple declarations.
+
2004-02-13 Mark Mitchell <mark@codesourcery.com>
PR c++/14122
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 46500bc..ece2635 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;