OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [crayptr2.f90] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! { dg-options "-fopenmp -fcray-pointer" }
3
! { dg-require-effective-target tls_native }
4
 
5
module crayptr2
6
  integer :: e          ! { dg-error "CRAY POINTEE attribute conflicts with THREADPRIVATE" }
7
  pointer (ip5, e)
8
 
9
! The standard is not very clear about this.
10
! Certainly, Cray pointees can't be SAVEd, nor they can be
11
! in COMMON, so the only way to make threadprivate Cray pointees would
12
! be if they are module variables.  But threadprivate pointees don't
13
! make any sense anyway.
14
 
15
!$omp threadprivate (e)
16
 
17
end module crayptr2

powered by: WebSVN 2.1.0

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