https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118755
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2025-02-05 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I am going to take a look at this tomorrow. I suspect there is a missing simplification in simplify-rtx for STORE_FLAG_VALUE==1.