https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96708
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.0 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this was mostly fixed for GCC 11 but had missed the :c on the cmp and that was fully fixed in GCC 14, see PR 111346 for that. What that means is sometimes we would not optimize always to 0/1 and keep around the comparison.