https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67628
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2021-06-07 00:00:00 |2021-7-19 Severity|normal |enhancement --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- if (a_5(D) > b_6(D)) goto <bb 3>; [50.00%] else goto <bb 4>; [50.00%] <bb 3> [local count: 536870913]: _1 = b_6(D) <= c_7(D); _2 = c_7(D) > d_8(D); _3 = _1 & _2; _10 = (int) _3; <bb 4> [local count: 1073741824]: # iftmp.1_4 = PHI <_10(3), 0(2)> If what was in BB 3 was simplier, I have patches to implement that already. The last time I tried to disable the code in fold_truth_andor there was some testsuite fall out. I won't be able to get to trying to fix this until next year at the earliest I think.