This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/63242] memory starvation caused by flatten attribute


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]