diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/error.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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> 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; |