public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-9552] pr104458.c: Replace long with long long for -mx32
@ 2022-02-10 16:34 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2022-02-10 16:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3c9a9ce0c1d5fe3d0ac93ff32d7a57e12a5fefb6

commit r11-9552-g3c9a9ce0c1d5fe3d0ac93ff32d7a57e12a5fefb6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 10 06:26:23 2022 -0800

    pr104458.c: Replace long with long long for -mx32
    
            PR target/104458
            * gcc.target/i386/pr104458.c: Replace long with long long.
    
    (cherry picked from commit 69febe852753448582ae4a73793816dfb9d91c3b)

Diff:
---
 gcc/testsuite/gcc.target/i386/pr104458.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr104458.c b/gcc/testsuite/gcc.target/i386/pr104458.c
index d1d28c13118..db5999df7dd 100644
--- a/gcc/testsuite/gcc.target/i386/pr104458.c
+++ b/gcc/testsuite/gcc.target/i386/pr104458.c
@@ -9,5 +9,5 @@ int i;
 void
 foo (F f)
 {
-  i += i % (long) f;
+  i += i % (long long) f;
 }


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

only message in thread, other threads:[~2022-02-10 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 16:34 [gcc r11-9552] pr104458.c: Replace long with long long for -mx32 Uros Bizjak

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