https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65862
--- Comment #10 from Robert Suchanek <robert.suchanek at imgtec dot com> --- Hi Vlad, I'm pleased with the results so far. In the larger codebase, it behaves as the original patch reverted and I haven't seen a missed case. The code size doesn't seem to be hurt either. I see ~0.5% improvement on average case which is good. Thanks a lot for the patch. I've thrown it against standard regression and it will take some time to complete but I'm confident it will pass. Initially it failed because of a missing declaration of the new_class variable though.