blob: fc817942513e2b3ed01e77cc0ef05ababf2e2152 [file] [log] [blame]
! RUN: bbc -fopenmp -pft-test -o %t %s | FileCheck %s
! RUN: %flang_fc1 -fopenmp -fdebug-dump-pft -o %t %s | FileCheck %s
! Test structure of the Pre-FIR tree with OpenMP
subroutine sub1(a, b, n)
real :: a(:), b(:)
integer :: n, i
!$omp parallel do
do i = 1, n
b(i) = exp(a(i))
end do
!$omp end parallel do
end subroutine
! CHECK-LABEL: Subroutine sub1
! CHECK: <<OpenMPConstruct>>
! CHECK: <<DoConstruct>>
! CHECK: <<End OpenMPConstruct>>