public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-27] Use flags in dump_decl.
@ 2021-04-21 11:27 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-04-21 11:27 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:9b6360b83cf5c684422c42301faee3a79ac42dc1
commit r12-27-g9b6360b83cf5c684422c42301faee3a79ac42dc1
Author: Martin Liska <mliska@suse.cz>
Date: Wed Apr 21 13:27:08 2021 +0200
Use flags in dump_decl.
gcc/cp/ChangeLog:
* error.c (dump_decl): Use flags in dump_generic_node call.
Diff:
---
gcc/cp/error.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index c88d1749a0f..c4ae76f5536 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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-21 11:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 11:27 [gcc r12-27] Use flags in dump_decl Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).