This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34940] contained subroutines called only once are not inlined
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Nov 2010 22:36:02 +0000
- Subject: [Bug tree-optimization/34940] contained subroutines called only once are not inlined
- Auto-submitted: auto-generated
- References: <bug-34940-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34940
--- Comment #9 from Jan Hubicka <hubicka at ucw dot cz> 2010-11-10 22:35:46 UTC ---
The inline heuristics should take that into account. But at the moment
io block simply always prevent inlining function with IO into function without
IO.
We consider function with more than 256 bytes of stack frame to have large
frame
and those are. Why it needs that much of stack space at first place?