summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/gomp/pr27573.f90
blob: 1d3d3b7518f601a8e60bc5362154ea0a105468c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! PR middle-end/27573
! { dg-do compile }
! { dg-options "-O2 -fopenmp -fprofile-generate" }

program pr27573
  integer i,j
  j = 8
  !$omp parallel
    print *, "foo"
    do i = 1, j - 1
    end do
  !$omp end parallel
end