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
program infinite_loop
integer :: i
!$omp parallel
do
i = 0
end do
!$omp end parallel
end program
This crashes in llvm::CodeExtractor::findAllocas called from llvm::OpenMPIRBuilder::createParallel. My guess is that the code extractor is looking for live out-values from the CFG region but gets stuck at the infinite loop.
Surprisingly, equivalent C code does not crash clang.