-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[flang] Flang goes into infinite loop when compiling gfortran test: strictly-structured-block-1.f90 #138950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I started |
Partial backtrace:
|
Next step: reduce strictly-structured-block-1.f90 to try and find the construct that causes the parser to choke. |
Kiran, please reassign to whomever takes care of OpenMP parsing. |
Steps to reproduce:
Assuming that the LLVM test suite is checked out in
./llvm-test-suite
, compile the test as followsActual 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.
The text was updated successfully, but these errors were encountered: