diff options
Diffstat (limited to 'gcc/cp')
-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 7456c82..45ddad5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2010-06-17 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/44486 + * error.c (dump_decl): Better wording for anonymous namespace. + 2010-06-16 Nathan Froyd <froydnj@codesourcery.com> * class.c (build_vtbl_initializer): Adjust computation of new_position diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 7730e4b..2cddc6d 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -946,7 +946,7 @@ dump_decl (tree t, int flags) dump_scope (CP_DECL_CONTEXT (t), flags); flags &= ~TFF_UNQUALIFIED_NAME; if (DECL_NAME (t) == NULL_TREE) - pp_string (cxx_pp, M_("<unnamed>")); + pp_cxx_ws_string (cxx_pp, M_("{anonymous}")); else pp_cxx_tree_identifier (cxx_pp, DECL_NAME (t)); } |