From f61c6e3c7530708637c8c94e63f075d9f3f4b5db Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Thu, 24 Jul 2025 20:05:24 +0100 Subject: [PATCH] gccrs: 128bit integer support is limited on 32 bit platforms This is a wider gcc issue we will need to address at some point but this test runs fine under 32 bit more without the 128bit lang item for rotate here. gcc/testsuite/ChangeLog: * rust/execute/torture/sip-hasher.rs: remove 128bit lang item Signed-off-by: Philip Herron --- gcc/testsuite/rust/execute/torture/sip-hasher.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/testsuite/rust/execute/torture/sip-hasher.rs b/gcc/testsuite/rust/execute/torture/sip-hasher.rs index 60826a3ed012..44c2431f51e4 100644 --- a/gcc/testsuite/rust/execute/torture/sip-hasher.rs +++ b/gcc/testsuite/rust/execute/torture/sip-hasher.rs @@ -1,4 +1,3 @@ -// { dg-skip-if "" { *-*-* } { "-m32" } { "" } } // { dg-options "-w" } // { dg-output "Hash: 0x63d53fd2170bbb8c\r*\n" } #![feature(intrinsics)] @@ -36,7 +35,7 @@ macro_rules! add_impl { )*) } -add_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 } +add_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 } impl *const T { pub unsafe fn add(self, count: usize) -> Self { @@ -83,7 +82,6 @@ impl_uint!( u16 = "u16", u32 = "u32", u64 = "u64", - u128 = "u128", usize = "usize" );