From 0b5be441cf5e25beba8990b201be30293072245e Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Fri, 5 Jul 2024 14:14:18 -0400 Subject: [PATCH] Fix for gcc-13 without int128 --- src/intrinsic/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intrinsic/mod.rs b/src/intrinsic/mod.rs index a739e6ff3fcb..839ebf3f2987 100644 --- a/src/intrinsic/mod.rs +++ b/src/intrinsic/mod.rs @@ -791,6 +791,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> { } else { arg }; + let arg_type = arg.get_type(); let (count_trailing_zeroes, expected_type) = // TODO(antoyo): write a new function Type::is_compatible_with(&Type) and use it here // instead of using is_uint().