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 r12-6107] smuldi3_highpart.c: Replace long with long long for -mx32
Date: Thu, 23 Dec 2021 18:08:59 +0000 (GMT)	[thread overview]
Message-ID: <20211223180859.07C45385801A@sourceware.org> (raw)

https://gcc.gnu.org/g:8f34344ec69840242d2d2d691a658e8d740687ed

commit r12-6107-g8f34344ec69840242d2d2d691a658e8d740687ed
Author: H.J. Lu <hjl.tools@gmail.com>
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;
 }


                 reply	other threads:[~2021-12-23 18:08 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=20211223180859.07C45385801A@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: link
Be 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).