diff mbox series

smuldi3_highpart.c: Replace long with long long for -mx32

Message ID 20211223180844.869315-1-hjl.tools@gmail.com
State New
Headers show
Series smuldi3_highpart.c: Replace long with long long for -mx32 | expand

Commit Message

H.J. Lu Dec. 23, 2021, 6:08 p.m. UTC
* gcc.target/i386/smuldi3_highpart.c: Replace long with long long.
---
 gcc/testsuite/gcc.target/i386/smuldi3_highpart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c b/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
index 8bbd5f5cb8d..cd8ea41e019 100644
--- a/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
+++ b/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c
@@ -2,7 +2,7 @@ 
 /* { dg-options "-O2" } */
 typedef int __attribute ((mode(TI))) ti_t;
 
-long foo(long x)
+long long foo(long long x)
 {
   return ((ti_t)x * 19065) >> 72;
 }