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.32.1.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-require-effective-target tls }
3
 
4
      MODULE M
5
        REAL, POINTER, SAVE :: WORK(:)
6
        INTEGER :: SIZE
7
        REAL :: TOL
8
!$OMP THREADPRIVATE(WORK,SIZE,TOL)
9
      END MODULE M
10
      SUBROUTINE A32( T, N )
11
        USE M
12
        REAL :: T
13
        INTEGER :: N
14
        TOL = T
15
        SIZE = N
16
!$OMP PARALLEL COPYIN(TOL,SIZE)
17
        CALL BUILD
18
!$OMP END PARALLEL
19
      END SUBROUTINE A32
20
      SUBROUTINE BUILD
21
        USE M
22
        ALLOCATE(WORK(SIZE))
23
        WORK = TOL
24
      END SUBROUTINE BUILD
25
! { dg-final { cleanup-modules "M" } }

powered by: WebSVN 2.1.0

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