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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.fortran/] [appendix-a/] [a.28.2.f90] - Rev 273

Compare with Previous | Blame | View Log

! { dg-do run }

      PROGRAM A28_2
        COMMON /BLOCK2/ X
        X = 1.0
!$OMP PARALLEL PRIVATE (X)
          X = 2.0
          CALL SUB()
!$OMP END PARALLEL
       CONTAINS
        SUBROUTINE SUB()
        COMMON /BLOCK2/ Y
        PRINT *,X                 ! X is undefined
        PRINT *,Y                 ! Y is undefined
        END SUBROUTINE SUB
      END PROGRAM A28_2

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.