aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-06-06 19:38:41 +0200
committerJakub Jelinek <jakub@redhat.com>2021-06-06 19:39:50 +0200
commitcb4b99be48af1c0911ce2a957af20d9cd946f364 (patch)
treef143c41e39b2ec0a74515f20b00e2d33b666ba23 /gcc/rtl.c
parent7fa4db39b6bcd207bd2bffff52023ff6b155bd15 (diff)
downloadgcc-cb4b99be48af1c0911ce2a957af20d9cd946f364.zip
gcc-cb4b99be48af1c0911ce2a957af20d9cd946f364.tar.gz
gcc-cb4b99be48af1c0911ce2a957af20d9cd946f364.tar.bz2
openmp: Add testcase for scan directive with nested functions
> In convert_nonlocal_omp_clauses, the following clauses are > missing: OMP_CLAUSE_AFFINITY, OMP_CLAUSE_DEVICE_TYPE, > OMP_CLAUSE_EXCLUSIVE, OMP_CLAUSE_INCLUSIVE. OMP_CLAUSE_{EXCLUSIVE,INCLUSIVE} isn't needed, because we don't walk the clauses at all for GIMPLE_OMP_SCAN. It would be a bug if we used the exclusive/inclusive operands after gimplification, but we apparently don't do that, all we check is whether the OMP_CLAUSE_KIND of the first clause (all should be the same) is OMP_CLAUSE_EXCLUSIVE or OMP_CLAUSE_INCLUSIVE, nothing else. That said, I think we should have a testcase. 2021-06-06 Jakub Jelinek <jakub@redhat.com> * gcc.dg/gomp/scan-1.c: New test.
Diffstat (limited to 'gcc/rtl.c')
0 files changed, 0 insertions, 0 deletions