[PATCH] D115440: Provide __builtin_alloca*_uninitialized variants

Marco Elver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 9 13:00:03 PST 2021


melver abandoned this revision.
melver added a comment.

GCC devs say that initializing explicit alloca() is a bug, because they aren't "automatic storage": https://lkml.kernel.org/r/20211209201616.GU614@gate.crashing.org
.. which is also the reason why GCC's behaviour differs here at the moment.

I actually agree with that, and alloca auto-init behaviour needs a new -mllvm param.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115440



More information about the cfe-commits mailing list