[PATCH] D125142: [clang][auto-init] Remove -enable flag for "zero" mode

Kees Cook via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 16:03:36 PDT 2022


kees created this revision.
kees added reviewers: jfb, nickdesaulniers, aaron.ballman.
Herald added a project: All.
kees requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: 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.

Link: https://github.com/llvm/llvm-project/issues/44842


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125142

Files:
  clang/docs/ClangCommandLineReference.rst
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/cl-options.c
  clang/test/Driver/clang_f_opts.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125142.427780.patch
Type: text/x-patch
Size: 6492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220506/25dedf45/attachment-0001.bin>


More information about the cfe-commits mailing list