[flang-commits] [flang] [flang][lowering] fix vector subscripts in character elemental procedures (PR #156661)
via flang-commits
flang-commits at lists.llvm.org
Wed Sep 3 06:03:54 PDT 2025
================
@@ -2381,7 +2417,7 @@ class ElementalUserCallBuilder
fir::ExtendedValue exv = Fortran::lower::translateToExtendedValue(
loc, builder, hlfir::Entity{input}, callContext.stmtCtx);
fir::FortranVariableOpInterface variableIface = hlfir::genDeclare(
- loc, builder, exv, "dummy.tmp", fir::FortranVariableFlagsAttr{});
+ loc, builder, exv, "mock.dummy", fir::FortranVariableFlagsAttr{});
----------------
jeanPerier wrote:
Switching the name here because the code is not creating a temporary storage. It is creating some dummy symbol representation only valid for the result specification evaluation. The "tmp" could mislead into thinking a temporary copy was created.
https://github.com/llvm/llvm-project/pull/156661
More information about the flang-commits
mailing list