diff options
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 03eb399c458..4d3b03239d4 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -3398,9 +3398,6 @@ expand_omp_taskreg (struct omp_region *region) entry_stmt = last_stmt (region->entry); child_fn = gimple_omp_taskreg_child_fn (entry_stmt); child_cfun = DECL_STRUCT_FUNCTION (child_fn); - /* If this function has been already instrumented, make sure - the child function isn't instrumented again. */ - child_cfun->after_tree_profile = cfun->after_tree_profile; entry_bb = region->entry; exit_bb = region->exit; |