https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121320
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-07-30 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |wrong-code --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- poly_offset_int offset = 0; ... offset += op->off * BITS_PER_UNIT; 2305843009213693952 is 0x2000000000000000 /* Constant offset this op adds or -1 if it is variable. */ poly_int64 off; Most likely op->off needs to be first casted to poly_offset_int and then done the multiply. line 1222 has a similar issue.