Open
Description
Steps to reproduce:
Assuming that the LLVM test suite is checked out in ./llvm-test-suite
, compile the test as follows
$ flang -fopenmp ./llvm-test-suite/Fortran/gfortran/regression/gomp/strictly-structured-block-1.f90
Actual behavior: the compiler seems to be in an infinite loop. The memory usage as reported by top
seems to be insignificant. Compilation did not terminate even after at least 5 minutes on both x86_64 and aarch64.
Expected behavior: Compilation should terminate successfully. If some OpenMP construct used in the test is not supported yet, flang should crash with a TODO message.