[PATCH] D64742: Allow using -ftrivial-auto-var-init=zero in C mode without extra flags

JF Bastien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 30 09:21:05 PDT 2019


jfb added a comment.

In D64742#1606244 <https://reviews.llvm.org/D64742#1606244>, @glider wrote:

> As a data point, Linus Torvalds suggested that we need a similar feature for GCC so that the "kernel C standard" mandates zero-initialization for locals: https://lkml.org/lkml/2019/7/28/206


Interesting!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64742/new/

https://reviews.llvm.org/D64742





More information about the cfe-commits mailing list