| commit | fdb3df65b6844c5926b1cb950fa044ce3017a7b1 | [log] [tgz] |
|---|---|---|
| author | Reid Kleckner <rnk@google.com> | Tue Aug 15 01:17:47 2017 +0000 |
| committer | Reid Kleckner <rnk@google.com> | Tue Aug 15 01:17:47 2017 +0000 |
| tree | a50b290a787480f21a618376c2633544adbf87df | |
| parent | 9e43d6e7b2d8eed7ce849d0698af8d4bb162ed26 [diff] |
Avoid PointerIntPair of constexpr EvalInfo structs They are stack allocated, so their alignment is not to be trusted. 32-bit MSVC only guarantees 4 byte stack alignment, even though alignof would tell you otherwise. I tried fixing this with __declspec align, but that apparently upsets GCC. Hopefully this version will satisfy all compilers. See PR32018 for some info about the mingw issues. Should supercede https://reviews.llvm.org/D34873 llvm-svn: 310905