[PATCH] D28543: Elliminates uninitialized warning for volitile varibles.

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 07:19:57 PST 2017


hfinkel added a comment.

What's the motivation for this? The placement of a local volatile variable is still under the compiler's direction, and unless the address escapes, we still assume we can reason about its aliasing (and, thus, whether or not it is initialized).


https://reviews.llvm.org/D28543





More information about the cfe-commits mailing list