t.p.northover added inline comments.

================
Comment at: lib/AST/ExprConstant.cpp:583
+    uint64_t& GetArrayInitIndex() {
+        return reinterpret_cast<uint64_t&>(ArrayInitIndex[0]);
+    }
----------------
rnk wrote:
> Surely this will fault on SPARC or ARM or other ISAs that care about 
> alignment?
As well as being horribly undefined behaviour.


https://reviews.llvm.org/D34873



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

Reply via email to