https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87601
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-12-21 Status|UNCONFIRMED |NEW Component|target |tree-optimization Severity|normal |enhancement Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- But IV-OPTs could have changed: i_19 = (int) ivtmp.8_22; if (i_19 != 0) goto <bb 4>; [89.00%] else goto <bb 5>; [11.00%] Into: if (ivtmp.8_22 != 0) goto <bb 4>; [89.00%] else goto <bb 5>; [11.00%] Which would have done the correct thing.