]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgomp/ChangeLog
omp-low.c (check_omp_nesting_restrictions): Allow cancel or cancellation point with...
authorJakub Jelinek <jakub@redhat.com>
Sun, 2 Dec 2018 12:48:42 +0000 (13:48 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 2 Dec 2018 12:48:42 +0000 (13:48 +0100)
commitdaa8c1d763c951d2242e1842be80b179f63ebad2
tree2e3655327f79bb903789d11133c2be9edf5b3baa
parente80944753d325ef009acf58a5b3188936997d22b
omp-low.c (check_omp_nesting_restrictions): Allow cancel or cancellation point with taskgroup clause inside of taskloop.

* omp-low.c (check_omp_nesting_restrictions): Allow cancel or
cancellation point with taskgroup clause inside of taskloop.  Consider
a taskloop construct without nogroup clause as implicit taskgroup for
diagnostics if cancel/cancellation point with taskgroup clause is
closely nested inside of taskgroup region.

* c-c++-common/gomp/cancel-1.c (f2): Add various taskloop related
tests.

* testsuite/libgomp.c-c++-common/cancel-taskgroup-4.c: New test.

From-SVN: r266722
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/cancel-1.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c-c++-common/cancel-taskgroup-4.c [new file with mode: 0644]