URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [testsuite/] [libgomp.fortran/] [allocatable4.f90] - Rev 735
Compare with Previous | Blame | View Log
! { dg-do run }integer, allocatable :: a(:, :)integer :: b(6, 3)integer :: i, jlogical :: k, lb(:, :) = 16l = .false.if (allocated (a)) call abort!$omp task private (a, b) shared (l)l = l.or.allocated (a)allocate (a(3, 6))l = l.or..not.allocated (a)l = l.or.size(a).ne.18.or.size(a,1).ne.3.or.size(a,2).ne.6a(3, 2) = 1b(3, 2) = 1deallocate (a)l = l.or.allocated (a)!$omp end task!$omp taskwaitif (allocated (a).or.l) call abortallocate (a(6, 3))a(:, :) = 3if (.not.allocated (a)) call abortl = l.or.size(a).ne.18.or.size(a,1).ne.6.or.size(a,2).ne.3if (l) call abort!$omp task private (a, b) shared (l)l = l.or..not.allocated (a)a(3, 2) = 1b(3, 2) = 1!$omp end task!$omp taskwaitif (l.or..not.allocated (a)) call abort!$omp task firstprivate (a, b) shared (l)l = l.or..not.allocated (a)l = l.or.size(a).ne.18.or.size(a,1).ne.6.or.size(a,2).ne.3do i = 1, 6l = l.or.(a(i, 1).ne.3).or.(a(i, 2).ne.3)l = l.or.(a(i, 3).ne.3).or.(b(i, 1).ne.16)l = l.or.(b(i, 2).ne.16).or.(b(i, 3).ne.16)end doa(:, :) = 7b(:, :) = 8!$omp end task!$omp taskwaitif (any (a.ne.3).or.any (b.ne.16).or.l) call abortend
