[flang-commits] [clang] [flang] [Flang][Driver] Add a flag to control zero initialization of global v… (PR #122144)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Tue Jan 14 04:29:30 PST 2025
================
@@ -3494,6 +3494,12 @@ 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]>;
+defm init_global_zero : BoolFOption<"init-global-zero",
----------------
kiranchandramohan wrote:
Thanks @carlocab. As Jean pointed out, there is a gfortran flag `-finit-local-zero`. So the name `-finit-global-zero` was chosen to be similar to it.
Hence, I am not taking this comment. Hope that is OK.
https://github.com/llvm/llvm-project/pull/122144
More information about the flang-commits
mailing list