https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116140
--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #2) > Looking at the change, I do not see how that could disable inlining. It > should only reduce size of the function size estimates in the heuristics. > > I think it is more likely loop optimization doing something crazy. But we > need to figure out what really changed in the codegen. Yes, looking at the change since the loop is now smaller it gets unlined into the callers. So I guess something goes wrong after that. Trying something now..