Mercurial > hg > CbC > CbC_gcc
view libgomp/testsuite/libgomp.fortran/cancel-sections-1.f90 @ 143:76e1cf5455ef
add cbc_gc test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:24:05 +0900 |
parents | 84e7813d76e9 |
children | 1830386684a0 |
line wrap: on
line source
! { dg-do run } ! { dg-set-target-env-var OMP_CANCELLATION "true" } use omp_lib if (omp_get_cancellation ()) then !$omp parallel num_threads(32) !$omp sections !$omp cancel sections STOP 1 !$omp section !$omp cancel sections STOP 2 !$omp section !$omp cancel sections STOP 3 !$omp section !$omp cancel sections STOP 4 !$omp end sections !$omp end parallel end if end