[flang-commits] [flang] [flang] Fixed regression in copy-in/copy-out (PR #161259)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Mon Nov 10 11:55:12 PST 2025
================
@@ -1619,28 +1608,25 @@ bool MayNeedCopy(const ActualArgument *actual,
if (!check.HaveArrayOrAssumedRankArgs()) {
return false;
}
- if (check.HaveContiguityDifferences()) {
- return true;
- }
- if (check.HavePolymorphicDifferences()) {
- return true;
+ if (maybeContigActual) {
----------------
klausler wrote:
`maybeContigActual.has_value()`
https://github.com/llvm/llvm-project/pull/161259
More information about the flang-commits
mailing list