aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r--gcc/cp/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index c88d174..c4ae76f 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -1365,7 +1365,7 @@ dump_decl (cxx_pretty_printer *pp, tree t, int flags)
if (DECL_NAME (t))
pp_cxx_tree_identifier (pp, DECL_NAME (t));
else
- dump_generic_node (pp, t, 0, TDF_SLIM, false);
+ dump_generic_node (pp, t, 0, flags | TDF_SLIM, false);
break;
case CONST_DECL: