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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [appendix-a/] [a.17.1.f90] - Blame information for rev 427

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
      SUBROUTINE A17_1_WRONG()
3
        INTEGER:: I
4
        REAL:: R
5
        EQUIVALENCE(I,R)
6
!$OMP PARALLEL
7
!$OMP ATOMIC
8
            I=I+1
9
!$OMP ATOMIC
10
            R = R + 1.0
11
! incorrect because I and R reference the same location
12
! but have different types
13
!$OMP END PARALLEL
14
        END SUBROUTINE A17_1_WRONG

powered by: WebSVN 2.1.0

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