projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6f4530
)
[OpenACC privatization] Don't evaluate OpenMP 'for' clauses [PR90115]
author
Thomas Schwinge
<thomas@codesourcery.com>
Thu, 20 May 2021 13:22:24 +0000
(15:22 +0200)
committer
Thomas Schwinge
<thomas@codesourcery.com>
Fri, 21 May 2021 18:01:04 +0000
(20:01 +0200)
gcc/
PR middle-end/90115
* omp-low.c (lower_omp_for): Don't evaluate OpenMP 'for' clauses.
gcc/omp-low.c
patch
|
blob
|
history
diff --git
a/gcc/omp-low.c
b/gcc/omp-low.c
index
da827ef
..
a86c6c1
100644
(file)
--- a/
gcc/omp-low.c
+++ b/
gcc/omp-low.c
@@
-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);