You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subroutinetest_stop_in_region3()
integer:: x
!$acc parallel
x =3if (x > 1) stop x
!$acc end parallelend
$ bbc -emit-fir -fopenacc test.f90 error: loc("/home/qpx/compilers/llvm-community/example/fix-exit-region/acc/test.f90":4:5): operation with block successors must terminate its parent blockFATAL: verification of lowering to FIR failed
The text was updated successfully, but these errors were encountered:
@clementval I am rebasing it. I found they are different problems. If the stop statement is in one OpenMP/OpenACC region, D129969 will handle it by removing fir.unreachable. If the stop statement is in one if construct and if construct is in one OpenMP/OpenACC region, the fir.unreachable will not be removed. This case is OK in OpenMP, but it crash in OpenACC.
The text was updated successfully, but these errors were encountered: