crayptr2.f90
来自「用于进行gcc测试」· F90 代码 · 共 18 行
F90
18 行
! { dg-do compile }! { dg-options "-fopenmp -fcray-pointer" }! { dg-require-effective-target tls_native }module crayptr2 integer :: e ! { dg-error "CRAY POINTEE attribute conflicts with THREADPRIVATE" } pointer (ip5, e)! The standard is not very clear about this.! Certainly, Cray pointees can't be SAVEd, nor they can be! in COMMON, so the only way to make threadprivate Cray pointees would! be if they are module variables. But threadprivate pointees don't! make any sense anyway.!$omp threadprivate (e)end module crayptr2
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?