This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55478] [devirt] trunk fails inline-devirt test #4
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Nov 2012 10:55:04 +0000
- Subject: [Bug middle-end/55478] [devirt] trunk fails inline-devirt test #4
- Auto-submitted: auto-generated
- References: <bug-55478-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55478
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-11-27 10:55:04 UTC ---
Created attachment 28792
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28792
patch
This is patch I am going to test. It copies open64' notion of heavy calls -
i.e. the calls that are not hot, but inlining is still importnat because callee
takes considerable time. We had few examples where this is profitable thing, so
I guess it is good idea to implement this. The heaviness should be propagated
by ipa-profile that is the bit I did not implement for simplicity, so we now
consider pretty much every nonleaf function or function with loop as possibly
heavy.