--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29648
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2009-05-02 14:31
---
It's now working with -fwhole-file.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from dominiq at lps dot ens dot fr 2007-12-03 12:41 ---
Form the gcc manual:
-finline-limit=n
... . The default value of n is 600. ...
This does not seem accurate: ddx and ddy are inlined for n=318, but not for
n=317 (corresponding respectively to 2.7s and 1.6s for the
--- 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
--- Comment #4 from dominiq at lps dot ens dot fr 2007-12-03 07:45 ---
The code in comment #3 is indeed inlined, but some cases are not. For instance
if you compile the polyhedron test 'channel' with -O3 -ffast-math
-funroll-loops and grep for _ddx, you get:
_ddx.837:
call_d
--- Comment #3 from bdavis at gcc dot gnu dot org 2007-12-01 02:24 ---
in case someone does not know what a contained procedure is (i sure didn't
without getting out the Metcalf and Reid book), below is an example:
program fred
integer j
j = 0
call a(j)
--
P dot Schaffnit at access dot rwth-aachen dot de changed:
What|Removed |Added
Severity|minor |enhancement
http://gcc.gnu.org/bugzilla/show_bug.c
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||pinskia at gcc dot gnu dot
|
--- Comment #2 from P dot Schaffnit at access dot rwth-aachen dot de
2006-10-31 09:13 ---
Right!
Thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29648
--- Comment #1 from pault at gcc dot gnu dot org 2006-10-31 05:34 ---
As the link says, inlining is implemented for contained procedures. I have
changed the summary to reflect this.
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
10 matches
Mail list logo