From 3884f97b3c4caf8f0d9099939e421c0576649cd8 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 15 Sep 2005 11:27:12 +0000 Subject: [PATCH] PR c++/23725 * error.c (dump_decl): Use USING_DECL_SCOPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104302 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/error.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4033dc3..7338b07 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2005-09-15 Nathan Sidwell + + PR c++/23725 + * error.c (dump_decl): Use USING_DECL_SCOPE. + 2005-09-13 Bastian Blank PR c++/16171 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 1220119..0490fc5 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -877,7 +877,7 @@ dump_decl (tree t, int flags) case USING_DECL: 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); dump_decl (DECL_NAME (t), flags); break; -- 2.7.4