1 ! when the loops are not DO CONCURRENT
3 ! RUN: not %flang_fc1 -fdebug-unparse-with-symbols %s 2>&1 | FileCheck %s
4 ! CHECK-NOT: image control statement not allowed in DO CONCURRENT
5 ! CHECK-NOT: RETURN not allowed in DO CONCURRENT
6 ! CHECK-NOT: call to impure procedure in DO CONCURRENT not allowed
7 ! CHECK-NOT: IEEE_GET_FLAG not allowed in DO CONCURRENT
8 ! CHECK-NOT: ADVANCE specifier not allowed in DO CONCURRENT
10 ! CHECK-NOT: SYNC IMAGES
12 module ieee_exceptions
14 subroutine ieee_get_flag(i
, j
)
16 end subroutine ieee_get_flag
18 end module ieee_exceptions
20 subroutine do_concurrent_test1(i
,n
)
28 end subroutine do_concurrent_test1
30 subroutine do_concurrent_test2(i
,j
,n
,flag
)
33 integer :: i
, j
, n
, flag
, flag2
36 call ieee_get_flag(flag
, flag2
)
38 write(*,'(a35)',advance
='no')
40 end subroutine do_concurrent_test2