[flang-commits] [clang] [flang] [clang][flang] Add support for -finit-local-zero (PR #159788)

via flang-commits flang-commits at lists.llvm.org
Tue Jul 21 06:55:38 PDT 2026


NimishMishra wrote:

Hi @jeanPerier and @tarunprabhu,

     Sorry for the long absence on this PR. I had internal reprioritisation, on which I needed to focus for the past several months.

     I have reworked this PR. To recall, the previous version of the PR was emitting parser nodes (AssignmentStmt node in particular) during lowering, which thereafter invoked `evaluateAssignment` to assign uninitialised local variables to 0 in the presence of the `-finit-local-zero` flag. The current (reworked) implementation uses hlfir assign instead.

    Going forward, I would be able to provide quick turnaround on any comments you may have. Thanks for your patience on this PR. 

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


More information about the flang-commits mailing list