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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [pr45597.f90] - Rev 694

Compare with Previous | Blame | View Log

! PR fortran/45597
! { dg-do compile }
! { dg-options "-fopenmp" }

subroutine foo(n)
  integer :: i, n(6)
  !$omp parallel do default(none) shared(n)
    do i = 1, 6
      if (n(i).gt.0) cycle
    end do
end subroutine
subroutine bar(n)
  integer :: i, j, k, n(6, 6, 6)
  !$omp parallel do default(none) shared(n) collapse(3)
    do i = 1, 6
      do j = 1, 6
        do k = 1, 6
          if (n(i, j, k).gt.0) cycle
        end do
      end do
    end do
end subroutine

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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