[flang-commits] [flang] [flang] Register and lower SECNDS (stubbed implementation) (PR #151878)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Mon Aug 4 08:31:59 PDT 2025


================
@@ -921,6 +921,11 @@ static const IntrinsicInterface genericIntrinsicFunction[]{
             {"back", AnyLogical, Rank::elemental, Optionality::optional},
             DefaultingKIND},
         KINDInt},
+    {"secnds",
+        {{"x", TypePattern{RealType, KindCode::exactKind, 4}, Rank::scalar,
+            Optionality::required, common::Intent::In}},
+        TypePattern{RealType, KindCode::exactKind, 4}, Rank::scalar,
+        IntrinsicClass::impureSubroutine},
----------------
klausler wrote:

I think that `SECNDS` is a function.

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


More information about the flang-commits mailing list