[gcc r12-7181] pr104458.c: Replace long with long long for -mx32

H.J. Lu hjl@gcc.gnu.org
Thu Feb 10 14:28:52 GMT 2022


https://gcc.gnu.org/g:69febe852753448582ae4a73793816dfb9d91c3b

commit r12-7181-g69febe852753448582ae4a73793816dfb9d91c3b
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.

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


More information about the Gcc-cvs mailing list