[Bug lto/63242] memory starvation caused by flatten attribute
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 15 09:11:00 GMT 2014
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).
More information about the Gcc-bugs
mailing list