Related articles |
---|
c code inliner paulw@mmail.ath.cx (2005-03-31) |
Re: c code inliner nathan.moore@sdc.cox.net (Nathan Moore) (2005-04-02) |
Re: c code inliner basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2005-04-02) |
Re: c code inliner tmk@netvision.net.il (2005-04-02) |
Re: c code inliner eeide@cs.utah.edu (Eric Eide) (2005-04-02) |
Re: c code inliner pohjalai@cc.helsinki.fi (A Pietu Pohjalainen) (2005-04-26) |
Re: c code inliner gtoal@gtoal.com (2005-04-30) |
Re: c code inliner idbaxter@semdesigns.com (Ira Baxter) (2005-05-04) |
From: | A Pietu Pohjalainen <pohjalai@cc.helsinki.fi> |
Newsgroups: | comp.compilers |
Date: | 26 Apr 2005 20:42:44 -0400 |
Organization: | University of Helsinki |
References: | 05-03-122 |
Keywords: | C, optimize |
Posted-Date: | 26 Apr 2005 20:42:44 EDT |
paulw@mmail.ath.cx wrote:
> Can gcc or cpp produce c code after inlining?
> I.e. I only want my c code after inlining but not compiled.
> Sort of like preprocessing "-E" but with inlining.
> Or any one knows any tools that does only "controlled" inlining?
> I don't need optimization or any thing, just inlining.
This was discussed a little bit ago, let's look through the archives:
--- clip ---
From: H T Fallside <htf@sari.edinburgh.ac.uk>
Organization: Compilers Central
Date: Wed, 5 Dec 90 16:39:12 GMT
I'm after a preprocessor that will do in-line expansion of procedure
calls IN SOURCE for C to produce one lovely long main() procedure,
something capable of dealing intelligently with parameters and local
variables. Anyone out there got any ideas before I start writing ?
--- clip ---
The discussion is available at
http://compilers.iecc.com/comparch/article/90-12-023
and there's a reference to article:
"A study of a C function inliner "
Software --- Practice & Experience
Volume 18 , Issue 8 (August 1988)
Pages: 775 - 790
br,
Pietu Pohjalainen
(I wasn't actually around at the time of the original discussion .. ;)
Return to the
comp.compilers page.
Search the
comp.compilers archives again.