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.2.f90] - Blame information for rev 774

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
 
3
      SUBROUTINE WORK(I)
4
      INTEGER I
5
      END SUBROUTINE WORK
6
      SUBROUTINE A21_WRONG(N)
7
      INTEGER N
8
        INTEGER I
9
!$OMP DO ORDERED
10
        DO I = 1, N
11
! incorrect because an iteration may not execute more than one
12
! ordered region
13
!$OMP ORDERED
14
            CALL WORK(I)
15
!$OMP END ORDERED
16
!$OMP ORDERED
17
            CALL WORK(I+1)
18
!$OMP END ORDERED
19
        END DO
20
      END SUBROUTINE A21_WRONG

powered by: WebSVN 2.1.0

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