diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-06-04 20:52:33 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-06-04 20:52:33 +0200 |
commit | c7070b31e12c18905ed0a60aaedd7a071aab5c60 (patch) | |
tree | 5c50794c9d92f63397d70498958031a039eb83d0 /gcc/tree-nested.c | |
parent | df3fbd5957f12927a459a2686f4eee55f66ec2f4 (diff) | |
download | gcc-c7070b31e12c18905ed0a60aaedd7a071aab5c60.zip gcc-c7070b31e12c18905ed0a60aaedd7a071aab5c60.tar.gz gcc-c7070b31e12c18905ed0a60aaedd7a071aab5c60.tar.bz2 |
OpenMP: Handle bind clause in tree-nested.c [PR100905]
PR middle-end/100905
gcc/ChangeLog:
* tree-nested.c (convert_nonlocal_omp_clauses,
convert_local_omp_clauses): Handle OMP_CLAUSE_BIND.
gcc/testsuite/ChangeLog:
* gfortran.dg/gomp/loop-3.f90: New test.
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index cea917a..41cbca9 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -1484,6 +1484,7 @@ convert_nonlocal_omp_clauses (tree *pclauses, struct walk_stmt_info *wi) case OMP_CLAUSE_AUTO: case OMP_CLAUSE_IF_PRESENT: case OMP_CLAUSE_FINALIZE: + case OMP_CLAUSE_BIND: case OMP_CLAUSE__CONDTEMP_: case OMP_CLAUSE__SCANTEMP_: break; @@ -2264,6 +2265,7 @@ convert_local_omp_clauses (tree *pclauses, struct walk_stmt_info *wi) case OMP_CLAUSE_AUTO: case OMP_CLAUSE_IF_PRESENT: case OMP_CLAUSE_FINALIZE: + case OMP_CLAUSE_BIND: case OMP_CLAUSE__CONDTEMP_: case OMP_CLAUSE__SCANTEMP_: break; |