Skip to content

Commit 1c6c71f

Browse files
committed
Mask the IntervalMap alignment assertion on ix86 mingw
1 parent 23a0442 commit 1c6c71f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/ADT/IntervalMap.h

+3
Original file line numberDiff line numberDiff line change
@@ -1040,8 +1040,11 @@ class IntervalMap {
10401040

10411041
public:
10421042
explicit IntervalMap(Allocator &a) : height(0), rootSize(0), allocator(a) {
1043+
#if !(defined(__MINGW32__) && defined(_M_IX86))
1044+
// FIXME: i686-mingw is failing this assertion somehow...
10431045
assert((uintptr_t(data.buffer) & (alignof(RootLeaf) - 1)) == 0 &&
10441046
"Insufficient alignment");
1047+
#endif
10451048
new(&rootLeaf()) RootLeaf();
10461049
}
10471050

0 commit comments

Comments
 (0)