[PATCH] D30283: [ubsan] Reduce alignment checking of C++ object pointers

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 17:29:34 PDT 2017


efriedma added a comment.

Oh, right... constant folding uses the declared alignment of the global to constant-fold the comparison.  (I still think it would be interesting to solve, but maybe orthogonal to some extent.)


https://reviews.llvm.org/D30283





More information about the cfe-commits mailing list