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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [appendix-a/] [a.17.2.f90] - Blame information for rev 316

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
 
3
      SUBROUTINE SUB()
4
        COMMON /BLK/ R
5
        REAL R
6
!$OMP ATOMIC
7
        R = R + 1.0
8
      END SUBROUTINE SUB
9
 
10
      SUBROUTINE A17_2_WRONG()
11
      COMMON /BLK/ I
12
      INTEGER I
13
!$OMP PARALLEL
14
!$OMP ATOMIC
15
            I=I+1
16
          CALL SUB()
17
!$OMP END PARALLEL
18
      END SUBROUTINE A17_2_WRONG
19
 

powered by: WebSVN 2.1.0

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