diff options
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 36e26cc..0d46673 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -1509,6 +1509,7 @@ dump_function_decl (cxx_pretty_printer *pp, tree t, int flags) /* Pretty print template instantiations only. */ if (DECL_USE_TEMPLATE (t) && DECL_TEMPLATE_INFO (t) + && !(flags & TFF_NO_TEMPLATE_BINDINGS) && flag_pretty_templates) { tree tmpl; @@ -1989,6 +1990,7 @@ dump_expr (cxx_pretty_printer *pp, tree t, int flags) case IDENTIFIER_NODE: dump_decl (pp, t, ((flags & ~(TFF_DECL_SPECIFIERS|TFF_RETURN_TYPE |TFF_TEMPLATE_HEADER)) + | TFF_NO_TEMPLATE_BINDINGS | TFF_NO_FUNCTION_ARGUMENTS)); break; |