Message ID | 50606F89.8090604@oracle.com |
---|---|
State | New |
Headers | show |
I think dump_function_decl should strip TFF_TEMPLATE_NAME from flags before passing flags along to other functions, like dump_template_parms does. Jason
Index: error.c =================================================================== --- error.c (revision 191665) +++ error.c (working copy) @@ -1262,7 +1262,7 @@ dump_template_decl (tree t, int flags) { case METHOD_TYPE: case FUNCTION_TYPE: - dump_function_decl (t, flags | TFF_TEMPLATE_NAME); + dump_function_decl (t, flags); break; default: /* This case can occur with some invalid code. */