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.35.4.f90] - Blame information for rev 774

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
 
3
      SUBROUTINE WRONG4(N)
4
      INTEGER N
5
        INTEGER I
6
!$OMP PARALLEL DEFAULT(SHARED)
7
!$OMP DO
8
          DO I = 1, N
9
             CALL WORK(I, 1)
10
! incorrect nesting of barrier region in a loop region
11
!$OMP BARRIER   ! { dg-warning "may not be closely nested" }
12
             CALL WORK(I, 2)
13
          END DO
14
!$OMP END PARALLEL
15
      END SUBROUTINE WRONG4

powered by: WebSVN 2.1.0

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