I commited this patch:

This patch fixes a warning about storing 2147483648 (0x80000000) into an int
field.

2026-09-30  Michael Meissner  <[email protected]>

gcc/

        * config/rs6000/rs6000-builtin.cc (cpu_supports_info): Silence a
        warning.
---
 gcc/config/rs6000/rs6000-builtin.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000-builtin.cc 
b/gcc/config/rs6000/rs6000-builtin.cc
index ad6f1fc09f4..304704b31b7 100644
--- a/gcc/config/rs6000/rs6000-builtin.cc
+++ b/gcc/config/rs6000/rs6000-builtin.cc
@@ -2566,7 +2566,7 @@ static const struct
 static const struct
 {
   const char *hwcap;
-  int mask;
+  unsigned int mask;
   unsigned int id;
 } cpu_supports_info[] = {
   /* AT_HWCAP masks.  */
-- 
2.55.0


-- 
Michael Meissner, IBM
PO Box 98, Ayer, Massachusetts, USA, 01432
email: [email protected]

Reply via email to