[flang-commits] [flang] [flang][semantics] add portability warning and tests for copy-in/copy-out case (PR #153263)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Thu Aug 14 12:51:08 PDT 2025


================
@@ -78,7 +78,8 @@ ENUM_CLASS(UsageWarning, Portability, PointerToUndefinable,
     MismatchingDummyProcedure, SubscriptedEmptyArray, UnsignedLiteralTruncation,
     CompatibleDeclarationsFromDistinctModules,
     NullActualForDefaultIntentAllocatable, UseAssociationIntoSameNameSubprogram,
-    HostAssociatedIntentOutInSpecExpr, NonVolatilePointerToVolatile)
+    HostAssociatedIntentOutInSpecExpr, NonVolatilePointerToVolatile,
+    ArraySectionCopyInCopyOut)
----------------
klausler wrote:

it only applies to volatile and asynchronous, yes?  `VolatileCopyInOut`?

https://github.com/llvm/llvm-project/pull/153263


More information about the flang-commits mailing list