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] - Rev 774

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

! { dg-do compile }

       MODULE A26_2
       REAL A
       CONTAINS
         SUBROUTINE G(K)
           REAL K
           A = K ! This is A in module A26_2, not the private
                  ! A in F
         END SUBROUTINE G
         SUBROUTINE F(N)
         INTEGER N
         REAL A
            INTEGER I
!$OMP PARALLEL DO PRIVATE(A)
              DO I = 1,N
                A=I
                CALL G(A*2)
              ENDDO
!$OMP END PARALLEL DO
          END SUBROUTINE F
      END MODULE A26_2
! { dg-final { cleanup-modules "A26_2" } }

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

powered by: WebSVN 2.1.0

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