[flang-commits] [flang] [flang][runtime] add LBOUND API for assumed-rank arrays (PR #94808)

via flang-commits flang-commits at lists.llvm.org
Mon Jun 10 01:14:23 PDT 2024


================
@@ -24,9 +24,13 @@ extern "C" {
 std::int64_t RTDECL(LboundDim)(const Descriptor &array, int dim,
     const char *sourceFile = nullptr, int line = 0);
 
+void RTDECL(Lbound)(void *result, const Descriptor &array, int kind,
+    const char *sourceFile = nullptr, int line = 0);
+
 void RTDECL(Shape)(void *result, const Descriptor &array, int kind,
     const char *sourceFile = nullptr, int line = 0);
 
+
----------------
jeanPerier wrote:

```suggestion

```

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


More information about the flang-commits mailing list