This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29648] Inlining only done for contained procedures
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2007 10:13:16 -0000
- Subject: [Bug fortran/29648] Inlining only done for contained procedures
- References: <bug-29648-10601@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from steven at gcc dot gnu dot org 2007-12-03 10:13 -------
Inlining is driven by heuristics. See ipa-inline.c. Heuristics cannot be
perfect for all applications, of course. The current tuning of the heuristics
is based on SPEC2k scores on Opteron, i.e. mostly for programs written in C and
C++. Maybe for Fortran the current heuristics do not lead to the best possible
results.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29648