https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110569
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Keywords| |wrong-code Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Dup. phiopt match-simplify trying: _4 > 1 ? 1 : iftmp.3_32 Matching expression match.pd:1991, gimple-match-5.cc:23 Matching expression match.pd:1991, gimple-match-5.cc:23 Applying pattern match.pd:4763, gimple-match-7.cc:16232 Folded into the sequence: _15 = _4 > 1; _10 = (unsigned int) _15; _9 = _10 | iftmp.3_32; statement un-sinked: iftmp.3_32 = (unsigned int) _4; # RANGE [irange] unsigned int [0, 1] NONZERO 0x1 iftmp.3_32 = (unsigned intD.9) _4; *** This bug has been marked as a duplicate of bug 110252 ***