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] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! PR fortran/45597
2
! { dg-do compile }
3
! { dg-options "-fopenmp" }
4
 
5
subroutine foo(n)
6
  integer :: i, n(6)
7
  !$omp parallel do default(none) shared(n)
8
    do i = 1, 6
9
      if (n(i).gt.0) cycle
10
    end do
11
end subroutine
12
subroutine bar(n)
13
  integer :: i, j, k, n(6, 6, 6)
14
  !$omp parallel do default(none) shared(n) collapse(3)
15
    do i = 1, 6
16
      do j = 1, 6
17
        do k = 1, 6
18
          if (n(i, j, k).gt.0) cycle
19
        end do
20
      end do
21
    end do
22
end subroutine

powered by: WebSVN 2.1.0

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