blob: b3f9d3c9cf06dc9e465d4da1090f98b58c46ed8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
! PR tree-optimization/48794
! { dg-do compile }
! { dg-options "-Os -fopenmp -fexceptions -fno-tree-ccp -fno-tree-copy-prop" }
integer, allocatable :: a(:)
integer :: b(48)
logical :: l
if (allocated (a)) then
call abort
call bla(b)
end if
!$omp parallel private (a) reduction (.or.:l)
do i = 1, 7
end do
!$omp end parallel
end
|