From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id A3BE13858438; Thu, 1 Sep 2022 22:22:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3BE13858438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662070961; bh=bhZc3lYw+reXB2DCaA1txHgZwGKgX51vDjotajZ17sk=; h=From:To:Subject:Date:From; b=PonrXjP4pKjt1bKHiq9qQLZPsywMJq2LA2s5ZjmSu1rRXW3FmkT3Lxm7ukaFJpAua EsG7C04eRGm7oQt2qvXR6DeeHwZJb3x7ENKzh8uzhpIdxx4MnJM5/oWDDNASrpj+D0 bNxdiyG1jkVprIN0OX6KYzJRt8LzrDheXe202ZJM= 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 r13-2358] i386: Replace long with long long for 64-bit integer X-Act-Checkin: gcc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/master X-Git-Oldrev: b98c5262d02c13cdbbf3b985859b436adec94d90 X-Git-Newrev: 6761d362c3efe5f4ca3b0c66e6854015acf162a1 Message-Id: <20220901222241.A3BE13858438@sourceware.org> Date: Thu, 1 Sep 2022 22:22:41 +0000 (GMT) List-Id: https://gcc.gnu.org/g:6761d362c3efe5f4ca3b0c66e6854015acf162a1 commit r13-2358-g6761d362c3efe5f4ca3b0c66e6854015acf162a1 Author: H.J. Lu Date: Thu Sep 1 15:18:18 2022 -0700 i386: Replace long with long long for 64-bit integer Replace long with long long for 64-bit integer since long may be 32 bits. PR target/106707 * gcc.target/i386/pr106707.c (foo): Replace long with long long. Diff: --- gcc/testsuite/gcc.target/i386/pr106707.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/pr106707.c b/gcc/testsuite/gcc.target/i386/pr106707.c index a127ccd4679..2e8ebaafb33 100644 --- a/gcc/testsuite/gcc.target/i386/pr106707.c +++ b/gcc/testsuite/gcc.target/i386/pr106707.c @@ -10,9 +10,9 @@ unsigned x, y; V v; void -foo (long a) +foo (long long a) { - long l = a != x; + long long l = a != x; int i = __builtin_add_overflow_p (y * ii, 0, 0); V u = ii < x | v, w = x <= u < i & y <= x / ii; v = __builtin_shufflevector (v, w, 1, 2) + (V) l;