flang-compiler / flang

Flang is a Fortran language front-end designed for integration with LLVM.
Other
800 stars 134 forks source link

Internal compiler error (ICE) triggered by OpenMP GPU offload #869

Open naromero77 opened 4 years ago

naromero77 commented 4 years ago

Here is the file the is giving the ICE: flang -fopenmp -fopenmp-targets=nvptx64-nvidia-cuda -c ../rte/kernels-openacc/mo_optical_props_kernels.F90

And the error message is: /scratch/naromero/tmp/spack-stage/spack-stage-flang-master-3evqiq2n54ak5c6ad4nscjtduayto7q3/spack-src/tools/flang2/flang2exe/verify.cpp:80: DEBUG_ASSERT 0 < ilix failed F90-F-0000-Internal compiler error. internal error in verifier itself 0 (../rte/kernels-openacc/mo_optical_props_kernels.F90: 78) F90/x86-64 Flang - 1.5 2017-05-01: compilation aborted

mo_optical_props_kernels.F90.gz

vfdff commented 3 years ago

I get the simular issue, have you fixed this issue ?