https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106586
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2022-08-11 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Mine. The problem here is INT_MIN is always sign extended to HWI. So there needs to be a mask setting. Looking into how to handle INT_MIN better for 32bits.