Issue 138950
Summary [flang] Flang goes into infinite loop when compiling gfortran test: strictly-structured-block-1.f90
Labels flang
Assignees
Reporter tarunprabhu
    Steps to reproduce:

Assuming that the [LLVM test suite](https://github.com/llvm/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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to