[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


================
@@ -57,6 +57,11 @@ page](https://llvm.org/releases/).
 - Added `-gz` and `-gz=<format>` flags to enable compression of DWARF debug
   sections. Supported formats are `zlib`, `zstd`, and `none`.
 
+- Added `-finit-local=<val>` to initialize automatic (local, stack-allocated)
----------------
tarunprabhu wrote:

What is the difference between "local" and "stack-allocated" here?

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


More information about the flang-commits mailing list