[flang-commits] [flang] [flang] fix early free of allocatable function result in WHERE mask (PR #178691)
via flang-commits
flang-commits at lists.llvm.org
Wed Feb 4 03:28:10 PST 2026
================
@@ -1928,14 +1930,14 @@ genUserCall(Fortran::lower::PreparedActualArguments &loweredActuals,
prepareUserCallArguments(loweredActuals, caller, callSiteType, callContext,
callCleanUps);
+ bool isElemental = callContext.isElementalProcWithArrayArgs();
----------------
jeanPerier wrote:
```suggestion
const bool isElemental = callContext.isElementalProcWithArrayArgs();
```
https://github.com/llvm/llvm-project/pull/178691
More information about the flang-commits
mailing list