https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97637
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-10-30 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- You can try lowering the inliner budget via --param inline-unit-growth which defaults to 40 (a 40% increase due to inlining). Likely only LTO exposes inlining opportunities and -O2 is not -Os. (just guessing you use -O2) The absolute number is also uninteresting - what's the relative change?