https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106186
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2022-07-05 Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- On the gcc 12 branch we optimize the use of rprio away in DSE5 (which just collects unused SSA names). The DOM3 pass via its EVRP use optimizes the if (rprio != 1) check there which is what no longer happens on trunk. So it's likely indeed ranger related.