diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 55aef3d5c6e..ac8b5b5a400 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -2154,6 +2154,7 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data) case OMP_RETURN: case OMP_CONTINUE: case OMP_SECTIONS_SWITCH: + case OMP_ATOMIC_STORE: break; /* We don't account constants for now. Assume that the cost is amortized @@ -2384,6 +2385,7 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data) case OMP_ORDERED: case OMP_CRITICAL: case OMP_ATOMIC: + case OMP_ATOMIC_LOAD: /* OpenMP directives are generally very expensive. */ d->count += d->weights->omp_cost; break; |