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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [appendix-a/] [a.35.2.f90] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
 
3
      SUBROUTINE WORK1(I,N)
4
      INTEGER I, N
5
        INTEGER J
6
!$OMP DO        ! incorrect nesting of loop regions
7
        DO J = 1, N
8
           CALL WORK(I,J)
9
        END DO
10
      END SUBROUTINE WORK1
11
      SUBROUTINE WRONG2(N)
12
      INTEGER N
13
        INTEGER I
14
!$OMP PARALLEL DEFAULT(SHARED)
15
!$OMP DO
16
           DO I = 1, N
17
              CALL WORK1(I,N)
18
           END DO
19
!$OMP END PARALLEL
20
      END SUBROUTINE WRONG2

powered by: WebSVN 2.1.0

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