diff options
author | Jason Merrill <jason@casey.soma.redhat.com> | 2000-06-09 16:23:47 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-06-09 12:23:47 -0400 |
commit | ea11ca7ec12df7f53d437a738f984e26ef7ab85b (patch) | |
tree | 0298128e12299bf28f76cc3ef5ad263e2fa59173 /gcc/cp/decl.c | |
parent | 6efa15825eea54fa389d7b385f4f87e689ab61bc (diff) | |
download | gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.zip gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.tar.gz gcc-ea11ca7ec12df7f53d437a738f984e26ef7ab85b.tar.bz2 |
timevar.def: Add TV_EXPAND.
* timevar.def: Add TV_EXPAND.
* timevar.c (timevar_print): Update timing information.
* calls.c (try_to_integrate): Push to TV_INTEGRATION for inlining.
* stmt.c (expand_return): Check for error_mark_node.
cp/:
* semantics.c (expand_body): Push to TV_EXPAND.
* optimize.c (optimize_function): Push to TV_INTEGRATION.
* decl.c (start_function): Always call announce_function.
* tinfo2.cc: Just declare abort.
From-SVN: r34470
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, |