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

via flang-commits flang-commits at lists.llvm.org
Tue Aug 11 14:57:32 PDT 2026


================
@@ -318,6 +318,10 @@ def fno_realloc_lhs : Flag<["-"], "fno-realloc-lhs">, Group<f_Group>,
 def frealloc_lhs : Flag<["-"], "frealloc-lhs">, Group<f_Group>,
   HelpText<"If an allocatable left-hand side of an intrinsic assignment is unallocated or its shape/type does not match the right-hand side, then it is automatically (re)allocated">;
 
+defm system_clock_strict : OptOutFC1FFlag<"system-clock-strict",
----------------
chris-earl wrote:

I did miss that I had set up these flags to be `fc1` instead of visible to the driver, which was my intention.  This change is done: These flags are now like `f(no-)realloc-lhs`.

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


More information about the flang-commits mailing list