From: H.J. Lu Date: Thu, 23 Dec 2021 18:07:25 +0000 (-0800) Subject: smuldi3_highpart.c: Replace long with long long for -mx32 X-Git-Tag: upstream/12.2.0~2590 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f34344ec69840242d2d2d691a658e8d740687ed;p=platform%2Fupstream%2Fgcc.git smuldi3_highpart.c: Replace long with long long for -mx32 * gcc.target/i386/smuldi3_highpart.c: Replace long with long long. --- diff --git a/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c b/gcc/testsuite/gcc.target/i386/smuldi3_highpart.c index 8bbd5f5..cd8ea41 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; }