URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.fortran/] [pr27916-2.f90] - Rev 438
Go to most recent revision | Compare with Previous | Blame | View Log
! PR fortran/27916! Test whether allocatable privatized arrays has "not currently allocated"! status at the start of OpenMP constructs.! { dg-do run }program pr27916integer :: n, ilogical :: rinteger, dimension(:), allocatable :: ar = .false.!$omp parallel do num_threads (4) default (private) &!$omp & reduction (.or.: r) schedule (static)do n = 1, 16r = r .or. allocated (a)allocate (a (16))r = r .or. .not. allocated (a)do i = 1, 16a (i) = iend dodeallocate (a)r = r .or. allocated (a)end do!$omp end parallel doif (r) call abortend program pr27916
Go to most recent revision | Compare with Previous | Blame | View Log
