https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155
--- Comment #41 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- (In reply to Richard Biener from comment #39) > Oh, and backprop is really intersect_uses () with > > FOR_EACH_IMM_USE_STMT (stmt, iter, var) > { > > being quadratic due to its stupid implementation (we really have many uses > of vars). Ouch, hadn't realised the difference between them was that severe. > If the pass can deal with duplicate stmt uses just fine using > FOR_EACH_IMM_USE_FAST is going to be faster. Yeah, should be fine here, since the function is just gathering information. Testing a patch...