This is the mail archive of the
mailing list for the GCC project.
Re: documentation on inlining model needed
- From: "Alexey Smirnov" <alexey at cs dot sunysb dot edu>
- To: <dalej at apple dot com>, <sheepy13 at gmai dot com>
- Cc: <gcc at gnu dot org>
- Date: Wed, 8 Mar 2006 09:36:37 -0500
- Subject: Re: documentation on inlining model needed
Recently, I'm very interested in the inlining model of gcc.I need a
detailed documentation describing how the inlining is implemented in
gcc 4.0. Anybody who has been or is working on it please send me a
documentation. I'd really appreciate your help.
There is no such documentation; you're going to have to look at the
The mechanism of actually duplicating a function body and substituting it
for a call is in tree-inline.c. The decision about which calls to expand
inline is made in cgraph.c and cgraphunit.c.
If you decide to write up your results please add them to the compiler
internals Wikibook at