Re: automatic inlining?

Jim Mattson <jmattson@hpax.cup.hp.com>
23 Feb 1996 18:27:30 -0500

          From comp.compilers

Related articles
automatic inlining? dash@hpbs3308.boi.hp.com (1996-02-23)
Re: automatic inlining? jmattson@hpax.cup.hp.com (Jim Mattson) (1996-02-23)
Re: automatic inlining? brianmcg@interaccess.com (1996-02-24)
Re: automatic inlining? snovack@justright.ICS.UCI.EDU (Steven Novack) (1996-02-24)
Re: automatic inlining? jejones@microware.com (1996-03-08)
| List of all articles for this month |

From: Jim Mattson <jmattson@hpax.cup.hp.com>
Newsgroups: comp.compilers
Date: 23 Feb 1996 18:27:30 -0500
Organization: HP California Language Laboratory
References: 96-02-273
Keywords: optimize

Dan Ash wrote:
> Do any of the current compilers do the following?
>
> If a function is called from only one place does the compiler in-line
> the code.


HP's C and FORTRAN compilers will inline such functions in most cases
if you compile at +O3 (inlining within a source file) or +O4 (cross-module
inlining).


--jim
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.