[flang-commits] [flang] [flang] Add MALLOC and FREE intrinsics for Cray pointers (PR #110018)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Sep 26 04:39:10 PDT 2024


================
@@ -1600,6 +1600,18 @@ static void CheckMaxMin(const characteristics::Procedure &proc,
   }
 }
 
+static void CheckFree(evaluate::ActualArguments &arguments,
----------------
tblah wrote:

Please could you add a similar check for the argument of MALLOC. I'm worried that we could have a compiler crash if somebody passes a type that cannot be converted to the runtime function argument type.

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


More information about the flang-commits mailing list