[flang-commits] [flang] [flang] Inline scalar-to-array hlfir.assign at -O0 (PR #197092)
Sairudra More via flang-commits
flang-commits at lists.llvm.org
Fri Jun 5 01:25:07 PDT 2026
Saieiei wrote:
Thanks @abidh, I agree this is a real host `-g -O0` debug regression.
I opened #201774 to address it by restricting the `-O0` scalar-to-array inlining path to OpenMP target-device compilation only. I also verified the original debugger repro manually: host `flang -g -O0` now hits the breakpoint on `arr = 11` once again, while the OpenMP target-device `-O0` repro still avoids `_FortranAAssign`/`free`. Please do have a look and help me with any review comments.
https://github.com/llvm/llvm-project/pull/197092
More information about the flang-commits
mailing list