aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/optimize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/optimize.c')
-rw-r--r--gcc/cp/optimize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/optimize.c b/gcc/cp/optimize.c
index 4be829e..c52970f 100644
--- a/gcc/cp/optimize.c
+++ b/gcc/cp/optimize.c
@@ -254,7 +254,7 @@ maybe_clone_body (tree fn)
/* There are as many statements in the clone as in the
original. */
- DECL_NUM_STMTS (clone) = DECL_NUM_STMTS (fn);
+ DECL_ESTIMATED_INSNS (clone) = DECL_ESTIMATED_INSNS (fn);
/* Clean up. */
splay_tree_delete (decl_map);