repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Drop Z from X + Z < Y + Z
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.fortran
/
cancel-do-1.f90
blob
61713c4dd947c6e78880cc7a2189e2cc5d58fb85
1
! { dg-do run }
2
! { dg-set-target-env-var OMP_CANCELLATION "true" }
3
4
use
omp_lib
5
integer
::
i
6
7
!$omp parallel num_threads(32)
8
!$omp do
9
do
i
=
0
,
999
10
!$omp cancel do
11
if
(
omp_get_cancellation
())
call
abort
12
enddo
13
!$omp endparallel
14
end