OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.fortran/] [allocatable3.f90] - Blame information for rev 866

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 273 jeremybenn
! { dg-do run }
2
 
3
  integer, allocatable :: a(:)
4
  integer :: i
5
  logical :: l
6
  l = .false.
7
  if (allocated (a)) call abort
8
!$omp parallel private (a) reduction (.or.:l)
9
  allocate (a (-7:-5))
10
  l = l.or..not.allocated (a)
11
  l = l.or.size(a).ne.3.or.size(a,1).ne.3
12
  a(:) = 0
13
  !$omp do private (a)
14
  do i = 1, 7
15
    a(:) = i
16
    l = l.or.any (a.ne.i)
17
  end do
18
  l = l.or.any (a.ne.0)
19
  deallocate (a)
20
!$omp end parallel
21
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.