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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [appendix-a/] [a.21.3.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
 
3
      SUBROUTINE A21_GOOD(N)
4
      INTEGER N
5
!$OMP DO ORDERED
6
        DO I = 1,N
7
          IF (I <= 10) THEN
8
!$OMP ORDERED
9
              CALL WORK(I)
10
!$OMP END ORDERED
11
          ENDIF
12
          IF (I > 10) THEN
13
!$OMP ORDERED
14
              CALL WORK(I+1)
15
!$OMP END ORDERED
16
          ENDIF
17
        ENDDO
18
      END SUBROUTINE A21_GOOD

powered by: WebSVN 2.1.0

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