Skip to content

[flang] Flang goes into infinite loop when compiling gfortran test: strictly-structured-block-1.f90 #138950

@tarunprabhu

Description

@tarunprabhu

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.

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions