]> git.ipfire.org Git - thirdparty/gcc.git/commit
* omp-low.c (check_omp_nesting_restrictions): Allow cancel or
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Dec 2018 12:48:42 +0000 (12:48 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Dec 2018 12:48:42 +0000 (12:48 +0000)
commit69cc430fb867c91c7405c45dfac94f2bf83817d8
tree2e3655327f79bb903789d11133c2be9edf5b3baa
parentb0d945ba743397d845ab6bc3c3834241f28bb91f
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266722 138bc75d-0d04-0410-961f-82ee72b054a4
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]