https://gcc.gnu.org/g:9eabc86fc6c9b5bba2844ebd6c83ad27026e0766

commit r16-7430-g9eabc86fc6c9b5bba2844ebd6c83ad27026e0766
Author: Jonathan Yong <[email protected]>
Date:   Mon Feb 9 00:19:20 2026 +0000

    gcc.dg/torture/pr70935.c: fix warnings for llp64
    
    Fix warnings for mingw-w64.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/torture/pr70935.c: change long to __INTPTR_TYPE__.
    
    Signed-off-by: Jonathan Yong <[email protected]>

Diff:
---
 gcc/testsuite/gcc.dg/torture/pr70935.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/torture/pr70935.c 
b/gcc/testsuite/gcc.dg/torture/pr70935.c
index d655703fba3a..bfbca6e3868b 100644
--- a/gcc/testsuite/gcc.dg/torture/pr70935.c
+++ b/gcc/testsuite/gcc.dg/torture/pr70935.c
@@ -19,7 +19,7 @@ zn(void)
             ;
         }
       r3 = &pm;
-      *js = (long)&gc;
+      *js = (__INTPTR_TYPE__)&gc;
 ka:
       for (d0 = 0; d0 < 2; ++d0)
         {

Reply via email to