[PATCH] D61280: Variable auto-init: don't initialize aggregate padding of all aggregates
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 13:34:42 PDT 2019
rjmccall added a comment.
IIRC, C says *members* are initialized as if they were in static storage, which might mean that their interior padding should be zeroed, but I don't think says anything about the padding in the enclosing aggregate. But I think zero-initializing padding is probably the right thing to do in general under this flag.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61280/new/
https://reviews.llvm.org/D61280
More information about the cfe-commits
mailing list