[PATCH] D68115: Zero initialize padding in unions

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 14:42:03 PST 2020


lebedev.ri added a comment.

Can patch description be made a bit more verbose?

> However with -ftrivial-auto-var-init=pattern those undefs became 0xAA pattern and break some code.

Break how?

Does this have to be an unilateral change,
likely penalizing non-`-ftrivial-auto-var-init=` cases,
i.e. [why] can't it be **only** done for when `-ftrivial-auto-var-init=` is enabled?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68115





More information about the cfe-commits mailing list