| Issue |
173594
|
| Summary |
[flang] verification of lowering to FIR failed on an assigned GOTO using an allocatable label variable
|
| Labels |
flang:ir
|
| Assignees |
|
| Reporter |
k-arrows
|
Reproducer:
https://godbolt.org/z/vTvPPTqoa
```f90
allocatable :: l
assign 10 to l
goto l
10 continue
end
```
Output:
```console
error: loc("/app/example.f90":3:1): 'fir.select' op must be an integer
error: verification of lowering to FIR failed
Compiler returned: 1
```
The expected behavior is that the code either compiles successfully or produces an appropriate and informative diagnostic.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs