Open ohno-fj opened 9 months ago
@llvm/issue-subscribers-openmp
Author: None (ohno-fj)
@llvm/issue-subscribers-flang-ir
Author: None (ohno-fj)
Cray pointer support was deprecated in OMP5.1. However, the compiler should not crash in this case.
... and we should keep support for Cray pointers in flang :-)
... and we should keep support for Cray pointers in flang :-)
Agreed. Cray pointers will not go away.
If a pointee (second argument) specified in
cray pointer
is specified inloc
intrinsic function, compilation terminates abnormally.Gfortran/ifort terminates compilation normally.
It is expected that the compilation succeed and the value of loc (ii) is zero.
If
-fopenmp
option is not specified, compilation terminates normally.The following are the test program, Flang-new, Gfortran and ifort compilation/execution result.
snfm_omp_task_26_23.f90: