diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-12-02 13:48:42 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-12-02 13:48:42 +0100 |
commit | daa8c1d763c951d2242e1842be80b179f63ebad2 (patch) | |
tree | 2e3655327f79bb903789d11133c2be9edf5b3baa /gcc/tree-nested.c | |
parent | e80944753d325ef009acf58a5b3188936997d22b (diff) | |
download | gcc-daa8c1d763c951d2242e1842be80b179f63ebad2.zip gcc-daa8c1d763c951d2242e1842be80b179f63ebad2.tar.gz gcc-daa8c1d763c951d2242e1842be80b179f63ebad2.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions