[OpenACC privatization] Don't evaluate OpenMP 'for' clauses [PR90115]
gcc/ PR middle-end/90115 * omp-low.c (lower_omp_for): Don't evaluate OpenMP 'for' clauses.
This commit is contained in:
parent
f6f45309d9
commit
3a285ebd0c
@ -11067,7 +11067,8 @@ lower_omp_for (gimple_stmt_iterator *gsi_p, omp_context *ctx)
|
||||
|
||||
push_gimplify_context ();
|
||||
|
||||
oacc_privatization_scan_clause_chain (ctx, gimple_omp_for_clauses (stmt));
|
||||
if (is_gimple_omp_oacc (ctx->stmt))
|
||||
oacc_privatization_scan_clause_chain (ctx, gimple_omp_for_clauses (stmt));
|
||||
|
||||
lower_omp (gimple_omp_for_pre_body_ptr (stmt), ctx);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user