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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [crayptr3.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
! { dg-options "-fopenmp -fcray-pointer" }
3
 
4
  integer :: a, b
5
  pointer (ip, a)
6
 
7
  b = 2
8
  ip = loc (b)
9
!$omp parallel default (none) shared (ip)
10
  a = 1
11
!$omp end parallel
12
 
13
!$omp parallel default (none) private (ip, b)
14
  b = 3
15
  ip = loc (b)
16
  a = 1
17
!$omp end parallel
18
 
19
!$omp parallel default (none)   ! { dg-error "enclosing parallel" }
20
  a = 1         ! { dg-error "'ip' not specified in enclosing parallel" }
21
!$omp end parallel
22
end

powered by: WebSVN 2.1.0

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