blob: 6c5a15fa343edc04032823a8c848ab3b80a5025d [file] [log] [blame]
! PR tree-optimization/48794
! { dg-do compile }
! { dg-options "-Os -fopenmp -fexceptions -fno-tree-ccp -fno-tree-copy-prop" }
integer, allocatable :: a(:)
logical :: l
if (allocated (a)) STOP 1
!$omp parallel private (a) reduction (.or.:l)
do i = 1, 7
end do
!$omp end parallel
end