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.26.2.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
       MODULE A26_2
4
       REAL A
5
       CONTAINS
6
         SUBROUTINE G(K)
7
           REAL K
8
           A = K ! This is A in module A26_2, not the private
9
                  ! A in F
10
         END SUBROUTINE G
11
         SUBROUTINE F(N)
12
         INTEGER N
13
         REAL A
14
            INTEGER I
15
!$OMP PARALLEL DO PRIVATE(A)
16
              DO I = 1,N
17
                A=I
18
                CALL G(A*2)
19
              ENDDO
20
!$OMP END PARALLEL DO
21
          END SUBROUTINE F
22
      END MODULE A26_2
23
! { dg-final { cleanup-modules "A26_2" } }

powered by: WebSVN 2.1.0

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