aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-05-06 12:47:43 -0700
committerKees Cook <keescook@chromium.org>2022-10-01 18:45:45 -0700
commitaef03c9b3bed5cef5a1940774b80128aefcb4095 (patch)
tree1fbcd995c43ee1d1aab97b4d647551072e85955a /flang/lib/Frontend/CompilerInvocation.cpp
parentfacfdbe25b457cb5bf9d48af6e8d0b1232e0765b (diff)
downloadllvm-aef03c9b3bed5cef5a1940774b80128aefcb4095.zip
llvm-aef03c9b3bed5cef5a1940774b80128aefcb4095.tar.gz
llvm-aef03c9b3bed5cef5a1940774b80128aefcb4095.tar.bz2
[clang][auto-init] Deprecate -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
GCC 12 has been released and contains unconditional support for -ftrivial-auto-var-init=zero: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ftrivial-auto-var-init Maintain compatibility with GCC, and remove the -enable flag for "zero" mode. The flag is left to generate an "unused" warning, though, to not break all the existing users. The flag will be fully removed in Clang 17. Link: https://github.com/llvm/llvm-project/issues/44842 Reviewed By: nickdesaulniers, MaskRay, srhines, xbolva00 Differential Revision: https://reviews.llvm.org/D125142
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions