]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
smuldi3_highpart.c: Replace long with long long for -mx32
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 23 Dec 2021 18:07:25 +0000 (10:07 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 23 Dec 2021 18:07:25 +0000 (10:07 -0800)
* gcc.target/i386/smuldi3_highpart.c: Replace long with long long.

gcc/testsuite/gcc.target/i386/smuldi3_highpart.c

index 8bbd5f5cb8de9e2d532f2e7095f1667192f7cc53..cd8ea41e019fc0f453c84259b7d2cbccaf305335 100644 (file)
@@ -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;
 }