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.33.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
      REAL FUNCTION READ_NEXT()
4
        REAL, POINTER :: TMP
5
!$OMP SINGLE
6
          ALLOCATE (TMP)
7
!$OMP END SINGLE COPYPRIVATE (TMP) ! copies the pointer only
8
!$OMP MASTER
9
          READ (11) TMP
10
!$OMP END MASTER
11
!$OMP BARRIER
12
          READ_NEXT = TMP
13
!$OMP BARRIER
14
!$OMP SINGLE
15
          DEALLOCATE (TMP)
16
!$OMP END SINGLE NOWAIT
17
      END FUNCTION READ_NEXT

powered by: WebSVN 2.1.0

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