[PATCH] D34873: Fix miscompiled 32bit binaries by mingw
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 28 08:42:38 PDT 2017
rnk added inline comments.
================
Comment at: lib/AST/ExprConstant.cpp:583
+ uint64_t& GetArrayInitIndex() {
+ return reinterpret_cast<uint64_t&>(ArrayInitIndex[0]);
+ }
----------------
Surely this will fault on SPARC or ARM or other ISAs that care about alignment?
https://reviews.llvm.org/D34873
More information about the cfe-commits
mailing list