]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/13927 (duplicated error message on bad redeclaration of anon union)
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>
Sat, 14 Feb 2004 02:11:22 +0000 (02:11 +0000)
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>
Sat, 14 Feb 2004 02:11:22 +0000 (02:11 +0000)
PR c++/13927
* error.c (dump_decl) <ALIAS_DECL>: Dump as simple declarations.

From-SVN: r77787

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

index 572b774f7aa2345a0c50ab62c7481de2269233e7..64018adbef65da0cdaa760c5bdfcc38e1d222578 100644 (file)
@@ -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
index 46500bc35205c026c4c99a0840e75fe8e428249e..ece26355948489e5e89fc55c95cf2d8f1421cd93 100644 (file)
@@ -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;