[flang-commits] [clang] [flang] Revert "Revert "[Flang][Driver] Add a flag to control zero initializa… (PR #123097)
via flang-commits
flang-commits at lists.llvm.org
Thu Jan 16 04:58:00 PST 2025
jeanPerier wrote:
+1 with @tarunprabhu testing suggestion. I am not opposed adding the flag to bbc, but it should really not be the root cause of the issue.
In the failing log, you can see that semantics mistook `y(1)` for a call ( the FIR output contains a `fir.call @_QPy(%0)`). This indeed indicates that something likely went wrong with the module file and that `y` was not read from it as expected. So it doe not look like a random setting of the `InitGlobalZero` issue, but a module file issue. I have no idea why your patch exposed it. I am guessing it may already have randomly failed and we do not know it because no flang committers had done a patch at the same time, so nobody probably investigated it.
https://github.com/llvm/llvm-project/pull/123097
More information about the flang-commits
mailing list