[PATCH] D60548: Variable auto-init: also auto-init alloca

Peter Collingbourne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 11 10:27:31 PDT 2019


pcc added a comment.

I probably wouldn't do anything about suppressing init on alloca for now, but if we did do something I think I'd be in favour of the separate builtin for uninitialized alloca. I also considered the alternative of allowing `__attribute__((uninitialized))` to appear on a function or block statement, but it seemed clearer for the uninitialized-ness to be as close to the alloca as possible.


Repository:
  rC Clang

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

https://reviews.llvm.org/D60548





More information about the cfe-commits mailing list