From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id 07C45385801A; Thu, 23 Dec 2021 18:08:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 07C45385801A MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: H.J. Lu To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6107] smuldi3_highpart.c: Replace long with long long for -mx32 X-Act-Checkin: gcc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/master X-Git-Oldrev: ef26c151c14a87177d46fd3d725e7f82e040e89f X-Git-Newrev: 8f34344ec69840242d2d2d691a658e8d740687ed Message-Id: <20211223180859.07C45385801A@sourceware.org> Date: Thu, 23 Dec 2021 18:08:59 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2021 18:08:59 -0000 https://gcc.gnu.org/g:8f34344ec69840242d2d2d691a658e8d740687ed commit r12-6107-g8f34344ec69840242d2d2d691a658e8d740687ed Author: H.J. Lu Date: Thu Dec 23 10:07:25 2021 -0800 smuldi3_highpart.c: Replace long with long long for -mx32 * gcc.target/i386/smuldi3_highpart.c: Replace long with long long. Diff: --- gcc/testsuite/gcc.target/i386/smuldi3_highpart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }