blob: 11edb0bb4982cfa5300f76b21dae8659cf9ad2df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
! 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)) call abort
!$omp parallel private (a) reduction (.or.:l)
do i = 1, 7
end do
!$omp end parallel
end
|