https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63242
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org, | |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Heh, yeah. flatten with LTO will indeed have the possibility to inline very many functions ;) Note that all limits we expose on inlining (large function, large unit, etc.) are not applied here. Not sure if limiting flatten to early inlining would be a good idea (you'd never get cross-module inlining on flatten that way, similar to always_inline). Maybe we should impose a really-large-function limit ... (and flatten in function size order).