about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2024-07-05 14:14:18 -0400
committerAntoni Boucher <bouanto@zoho.com>2024-07-05 14:58:07 -0400
commit0b5be441cf5e25beba8990b201be30293072245e (patch)
treeee3ea367eee2f398c4a7cf3c3567cfbccd05b776
parent14d327a265dde1df05cf15e23c6956197a22f141 (diff)
downloadrust-0b5be441cf5e25beba8990b201be30293072245e.tar.gz
rust-0b5be441cf5e25beba8990b201be30293072245e.zip
Fix for gcc-13 without int128
-rw-r--r--src/intrinsic/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intrinsic/mod.rs b/src/intrinsic/mod.rs
index a739e6ff3fc..839ebf3f298 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().