https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #12 from Eric Gallager ---
(In reply to Jan Hubicka from comment #11)
> Well, I am working on gradual improvements in the inlining decisions,
> but since the PR is not very specific, we never will be perfect :)
So should we leave it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #11 from Jan Hubicka ---
Well, I am working on gradual improvements in the inlining decisions,
but since the PR is not very specific, we never will be perfect :)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
Eric Gallager changed:
What|Removed |Added
Assignee|hubicka at gcc dot gnu.org |unassigned at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #8 from Jan Hubicka hubicka at gcc dot gnu.org 2012-03-25
09:43:46 UTC ---
GCC 4.7 has now shrink wrapping that should reduce effect of inlining large
cold functions called once. Realistic testcases where we still kill code
quality
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
Michael Matz matz at gcc dot gnu.org changed:
What|Removed |Added
CC||matz at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #3 from Jan Hubicka hubicka at ucw dot cz 2011-05-27 16:15:02 UTC
---
I agree if the called function is big and it is very unlikely (most probably
just in PROB_VERY_UNLIKELY cases) -finline-functions-called-once shouldn't
inline.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #4 from Jan Hubicka hubicka at gcc dot gnu.org 2011-05-27
16:19:04 UTC ---
BTW mainline won't inline foo in that testcase:
Deciding on functions called once:
not inlinable: bar/1 - foo/0, --param large-stack-frame-growth limit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2011-05-27
16:24:45 UTC ---
Oops, s/65536/128/, I've changed the testcase too late without retesting.
Anyway, the point is that the limits should be adjusted somewhat if the call is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #6 from Linus Torvalds torva...@linux-foundation.org 2011-05-27
16:38:22 UTC ---
(In reply to comment #3)
-finline-functions-called-once is trottled down by the large-function-growth
and large-stack-frame-growth limits. The
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49194
--- Comment #7 from Jan Hubicka hubicka at ucw dot cz 2011-05-27 18:47:56 UTC
---
We used to play with inlining limits (gcc had some really bad decisions), but
the meaning of the numbers kept changing from one gcc version to another, and
the
12 matches
Mail list logo