diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 22bdb9d..73e5a61 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -13649,8 +13649,7 @@ start_function (declspecs, declarator, attrs, flags) begin_stmt_tree (&DECL_SAVED_TREE (decl1)); /* Let the user know we're compiling this function. */ - if (processing_template_decl || !building_stmt_tree ()) - announce_function (decl1); + announce_function (decl1); /* Record the decl so that the function name is defined. If we already have a decl for this name, and it is a FUNCTION_DECL, |