Commit 7162281a by Giovanni Bajo

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
parent 0e8c9b28
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> 2004-02-13 Mark Mitchell <mark@codesourcery.com>
PR c++/14122 PR c++/14122
......
...@@ -791,6 +791,7 @@ dump_decl (tree t, int flags) ...@@ -791,6 +791,7 @@ dump_decl (tree t, int flags)
/* Else fall through. */ /* Else fall through. */
case FIELD_DECL: case FIELD_DECL:
case PARM_DECL: case PARM_DECL:
case ALIAS_DECL:
dump_simple_decl (t, TREE_TYPE (t), flags); dump_simple_decl (t, TREE_TYPE (t), flags);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment