[clang] [flang] [flang] Add checks for Fortran 2023 system clock and add f2023/f202Y to valid arguments of -std= (PR #205938)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 12:03:06 PDT 2026


================
@@ -60,7 +60,8 @@ ENUM_CLASS(LanguageFeature, BackslashEscapes, OldDebugLines,
     DefaultStructConstructorNullPointer, AssumedRankIoItem,
     MultipleProgramUnitsOnSameLine, AllocatedForAssociated,
     OpenMPThreadprivateEquivalence, RelaxedCLocChecks, CudaPinned,
-    OpenAccDefaultNoneScalarsStrict, OpenACCMultipleNamesInRoutine)
+    OpenAccDefaultNoneScalarsStrict, OpenACCMultipleNamesInRoutine,
+    SystemClockStrict)
----------------
chris-earl wrote:

Good catch! This is not the intended behavior. I have fixed this. See my comments below.

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


More information about the cfe-commits mailing list