Skip to content

Commit b31913c

Browse files
cuvipernikic
authored andcommitted
[rust] Mask the IntervalMap alignment assertion on ix86 mingw
1 parent 3f365d8 commit b31913c

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
@@ -1042,8 +1042,11 @@ class IntervalMap {
10421042

10431043
public:
10441044
explicit IntervalMap(Allocator &a) : height(0), rootSize(0), allocator(a) {
1045+
#if !(defined(__MINGW32__) && defined(_M_IX86))
1046+
// FIXME: i686-mingw is failing this assertion somehow...
10451047
assert((uintptr_t(&data) & (alignof(RootLeaf) - 1)) == 0 &&
10461048
"Insufficient alignment");
1049+
#endif
10471050
new(&rootLeaf()) RootLeaf();
10481051
}
10491052

0 commit comments

Comments
 (0)