| ! when the loops are not DO CONCURRENT |
| ! RUN: not %flang_fc1 -fdebug-unparse-with-symbols %s 2>&1 | FileCheck %s |
| ! CHECK-NOT: image control statement not allowed in DO CONCURRENT |
| ! CHECK-NOT: RETURN not allowed in DO CONCURRENT |
| ! CHECK-NOT: call to impure procedure in DO CONCURRENT not allowed |
| ! CHECK-NOT: IEEE_GET_FLAG not allowed in DO CONCURRENT |
| ! CHECK-NOT: ADVANCE specifier not allowed in DO CONCURRENT |
| subroutine ieee_get_flag(i, j) |
| end subroutine ieee_get_flag |
| end module ieee_exceptions |
| subroutine do_concurrent_test1(i,n) |
| end subroutine do_concurrent_test1 |
| subroutine do_concurrent_test2(i,j,n,flag) |
| integer :: i, j, n, flag, flag2 |
| call ieee_get_flag(flag, flag2) |
| write(*,'(a35)',advance='no') |
| end subroutine do_concurrent_test2 |