[flang-commits] [flang] [flang][OpenMP] Fix component-level initializer in declare reduction (PR #195751)
via flang-commits
flang-commits at lists.llvm.org
Fri May 8 09:08:38 PDT 2026
================
----------------
MattPD wrote:
Thanks for checking that: AFAICT no, as in the assignment case we don't use the `ProcedureRef` and use the next one (with `expr`, correctly using the `if (privArg && assign)` branch). Tested comparing against gfortran (and getting the same result). Think I'm going to add the test for this just the same (as before this patch this has been failing, too--covered by the same ICE affecting component-level initialization).
https://github.com/llvm/llvm-project/pull/195751
More information about the flang-commits
mailing list