https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94785
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |middle-end Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |easyhack Last reconfirmed| |2020-04-27 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Note you likely want 1U | -(... as otherwise you implicitely assert that v != INT_MIN due to -1 * INT_MIN invoking undefined overflow. We still can do the transform to abs, of course.