https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27504
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2012-01-04 00:00:00 |2021-6-2 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed again. So looking at the IR, it took until PHI-OPT4 to be able to convert it into: <bb 2> [local count: 1073741824]: if (x_3(D) != 0) goto <bb 3>; [50.00%] else goto <bb 4>; [50.00%] <bb 3> [local count: 536870913]: _1 = x_3(D) & 85; _5 = _1 != 0; _6 = (int) _5; <bb 4> [local count: 1073741824]: # iftmp.0_2 = PHI <_6(3), 0(2)>