https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87995
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Dec 8 08:58:24 2018 New Revision: 266904 URL: https://gcc.gnu.org/viewcvs?rev=266904&root=gcc&view=rev Log: 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. Modified: trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c