Commit ec05ece4 by Nathan Sidwell Committed by Nathan Sidwell

re PR c++/23725 (Error message regression with g++.dg/inherit/using4.C)

	PR c++/23725
	* error.c (dump_decl): <USING_DECL case> Use USING_DECL_SCOPE.

From-SVN: r104302
parent d430cbe7
2005-09-15 Nathan Sidwell <nathan@codesourcery.com>
PR c++/23725
* error.c (dump_decl): <USING_DECL case> Use USING_DECL_SCOPE.
2005-09-13 Bastian Blank <waldi@debian.org> 2005-09-13 Bastian Blank <waldi@debian.org>
PR c++/16171 PR c++/16171
......
...@@ -877,7 +877,7 @@ dump_decl (tree t, int flags) ...@@ -877,7 +877,7 @@ dump_decl (tree t, int flags)
case USING_DECL: case USING_DECL:
pp_cxx_identifier (cxx_pp, "using"); pp_cxx_identifier (cxx_pp, "using");
dump_type (DECL_INITIAL (t), flags); dump_type (USING_DECL_SCOPE (t), flags);
pp_cxx_colon_colon (cxx_pp); pp_cxx_colon_colon (cxx_pp);
dump_decl (DECL_NAME (t), flags); dump_decl (DECL_NAME (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