[flang-commits] [clang] [flang] [Flang][Driver] Add a flag to control zero initialization of global v… (PR #122144)
Carlo Cabrera via flang-commits
flang-commits at lists.llvm.org
Thu Jan 9 06:36:36 PST 2025
================
@@ -3494,6 +3494,9 @@ def fno_struct_path_tbaa : Flag<["-"], "fno-struct-path-tbaa">, Group<f_Group>;
def fno_strict_enums : Flag<["-"], "fno-strict-enums">, Group<f_Group>;
def fno_strict_overflow : Flag<["-"], "fno-strict-overflow">, Group<f_Group>,
Visibility<[ClangOption, FlangOption]>;
+def fno_zero_init_global_without_init : Flag<["-"], "fno-zero-init-global-without-init">, Group<f_Group>,
----------------
carlocab wrote:
Following https://github.com/llvm/llvm-project/pull/121619#discussion_r1906391568, I suggest considering `-fskip-zero-init-globals` or similar.
https://github.com/llvm/llvm-project/pull/122144
More information about the flang-commits
mailing list