Skip to content

Commit 0997ff3

Browse files
committed
Fix for gcc-13 without int128
1 parent 14d327a commit 0997ff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,11 @@ impl<'gcc, 'tcx> TypeReflection<'gcc, 'tcx> for Type<'gcc> {
429429
}
430430

431431
fn is_i128(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool {
432-
self.unqualified() == cx.i128_type.unqualified()
432+
self.unqualified().is_compatible_with(cx.i128_type.unqualified())
433433
}
434434

435435
fn is_u128(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool {
436-
self.unqualified() == cx.u128_type.unqualified()
436+
self.unqualified().is_compatible_with(cx.u128_type.unqualified())
437437
}
438438

439439
fn is_vector(&self) -> bool {

0 commit comments

Comments
 (0)