re PR libgomp/87995 (libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c fails...
authorJakub Jelinek <jakub@redhat.com>
Sat, 8 Dec 2018 08:58:24 +0000 (09:58 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 8 Dec 2018 08:58:24 +0000 (09:58 +0100)
commit6997628d350a0961756e2e88095f3dd36d10bf8c
tree7112e28c7a4d2692b8d40382749f89019b74e831
parentb03a449727746c8598dcbe86c0a33f99d1aca0cc
re PR libgomp/87995 (libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c fails consistently after r265930)

PR libgomp/87995
* testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c: Require
tls_runtime effective target.
(t): New threadprivate variable.
(main): Set t in threads which execute iterations of the worksharing
loop.  Propagate that to the task after the loop and don't abort
if the current taskgroup hasn't been cancelled.

From-SVN: r266904
libgomp/ChangeLog
libgomp/testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c