Issue with coarray lowering
Open
crash-on-valid
flang:fir-hlfir
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Looks like multiple terminators created
Terminates with
```
error: loc("/app/example.f90":11:3): operation with block successors must terminate its parent block
error: verification of lowering to FIR failed
```
https://godbolt.org/z/fozPsePz7
Contributor guide
Research direction
Start with the Fortran reproducer in the linked Godbolt example and inspect the coarray lowering that produces multiple terminators. Use the reported FIR verification failure as the baseline; done means the reproducer no longer reports a block-termination error and lowering completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fortran
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100