public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6107] smuldi3_highpart.c: Replace long with long long for -mx32
@ 2021-12-23 18:08 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2021-12-23 18:08 UTC (permalink / raw)
  To: gcc-cvs

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;
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-23 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-23 18:08 [gcc r12-6107] smuldi3_highpart.c: Replace long with long long for -mx32 H.J. Lu

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).