[flang-commits] [clang] [flang] [flang] Add -finit-local= to initialize automatic variables (PR #216164)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Fri Aug 14 06:39:24 PDT 2026
================
@@ -0,0 +1,33 @@
+! Tests that -finit-local= and -finit-local-zero are accepted by the Flang
+! driver and forwarded correctly to -fc1.
+
+! --- Valid values: zero, nan, snan, hex byte ---
+! RUN: %flang -### -S -finit-local=zero %s -o - 2>&1 | FileCheck --check-prefix=CHECK-ZERO %s
----------------
tarunprabhu wrote:
nit: The prefix could just be named "ZERO". The "CHECK-" in the name is understood.
https://github.com/llvm/llvm-project/pull/216164
More information about the flang-commits
mailing list