Use flags in dump_decl.

gcc/cp/ChangeLog:

	* error.c (dump_decl): Use flags in dump_generic_node call.
This commit is contained in:
Martin Liska 2021-04-21 13:27:08 +02:00
parent df0581a4af
commit 9b6360b83c

View file

@ -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: