melver added a subscriber: tstellar.
melver added a comment.

@tstellar , we were told maybe you have some input.

TLDR;

- Clang and GCC appear to behave differently wrt `-ftrivial-auto-var-init=` on 
`__builtin_alloca()` (and VLAs?)
- Clang's behavior is (per @jfb above) correct;
- How to document that better, so that this confusion can be avoided, and GCC 
can match Clang's behaviour.

Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115440

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to