This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/31396] Inline code performance much worse than out-of-line
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2008 19:00:36 -0000
- Subject: [Bug rtl-optimization/31396] Inline code performance much worse than out-of-line
- References: <bug-31396-14334@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from hubicka at gcc dot gnu dot org 2008-01-12 19:00 -------
Created an attachment (id=14930)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14930&action=view)
tentative fix
I am testing the attached patch. It is obvious that we should use profile
here. The PR is most likely regression to 2.95 that used to multiply n_refs by
3 inside loops.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31396