diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 86cee36..3f9feac 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -1853,8 +1853,6 @@ duplicate_decls (tree newdecl, tree olddecl) regardless of declaration matches. */ SET_DECL_RTL (newdecl, DECL_RTL (olddecl)); } - else - DECL_ESTIMATED_INSNS (newdecl) = DECL_ESTIMATED_INSNS (olddecl); DECL_RESULT (newdecl) = DECL_RESULT (olddecl); /* Don't clear out the arguments if we're redefining a function. */ @@ -10258,9 +10256,6 @@ start_function (tree declspecs, tree declarator, tree attrs, int flags) /* Start the statement-tree, start the tree now. */ begin_stmt_tree (&DECL_SAVED_TREE (decl1)); - /* Don't double-count statements in templates. */ - DECL_ESTIMATED_INSNS (decl1) = 0; - /* Let the user know we're compiling this function. */ announce_function (decl1); |