public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: H.J. Lu <hjl@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2358] i386: Replace long with long long for 64-bit integer Date: Thu, 1 Sep 2022 22:22:41 +0000 (GMT) [thread overview] Message-ID: <20220901222241.A3BE13858438@sourceware.org> (raw) https://gcc.gnu.org/g:6761d362c3efe5f4ca3b0c66e6854015acf162a1 commit r13-2358-g6761d362c3efe5f4ca3b0c66e6854015acf162a1 Author: H.J. Lu <hjl.tools@gmail.com> 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;
reply other threads:[~2022-09-01 22:22 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220901222241.A3BE13858438@sourceware.org \ --to=hjl@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).