[COMMITTED,AArch64] Fix PR93565 testcase for ILP32.

Message ID AM5PR0801MB2035D5A9A3D0A31FBDDA3C9E83160@AM5PR0801MB2035.eurprd08.prod.outlook.com
State New
Headers show
Series
  • [COMMITTED,AArch64] Fix PR93565 testcase for ILP32.
Related show

Commit Message

Wilco Dijkstra Feb. 17, 2020, 7:18 p.m.
Fix PR93565 testcase for ILP32.

Committed as obvious.

testsuite/
        * gcc.target/aarch64/pr93565.c: Fix test for ilp32.

--

Patch

diff --git a/gcc/testsuite/gcc.target/aarch64/pr93565.c b/gcc/testsuite/gcc.target/aarch64/pr93565.c
index 7200f80..fb64f5c 100644
--- a/gcc/testsuite/gcc.target/aarch64/pr93565.c
+++ b/gcc/testsuite/gcc.target/aarch64/pr93565.c
@@ -14,13 +14,13 @@  static const char table[64] = {
      9, 30, 45, 41,  8, 40,  7,  6,
 };
 
-static inline int ctz1 (unsigned long  b)
+static inline int ctz1 (unsigned long long  b)
 {
-  unsigned long lsb = b & -b;
+  unsigned long long lsb = b & -b;
   return table[(lsb * magic) >> 58];
 }
 
-void f (unsigned long x, int *p)
+void f (unsigned long long x, int *p)
 {
   if (x != 0)
     {