https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108847
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords|ABI | Ever confirmed|0 |1 Severity|normal |enhancement Last reconfirmed| |2023-02-20 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The workaround in this case is just to do: ((__INT32_TYPE__)value) < 0 instead of value>>31.