[flang-commits] [flang] [flang] Restrict O0 hlfir.assign scalar-to-array inlining to OpenMP target device (PR #201774)

via flang-commits flang-commits at lists.llvm.org
Mon Jun 8 08:05:47 PDT 2026


https://github.com/jeanPerier approved this pull request.

Thanks for fixing the regression.

@abidh, I opened https://github.com/llvm/llvm-project/issues/202354 to track the line location issue around line location. Other compilers inline such assignment at -g -O0 and do not suffer the same issue. Even flang gets correct info in some other inlined array expression cases.

https://github.com/llvm/llvm-project/pull/201774


More information about the flang-commits mailing list