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

https://gcc.gnu.org/g:0cbdb6f7662e404a72f13a1e47609ca7d80ec4fb

commit r10-10447-g0cbdb6f7662e404a72f13a1e47609ca7d80ec4fb
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:35 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:35 [gcc r10-10447] 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).