Re: c code inliner

Eric Eide <>
2 Apr 2005 19:36:13 -0500

          From comp.compilers

Related articles
c code inliner (2005-03-31)
Re: c code inliner (Nathan Moore) (2005-04-02)
Re: c code inliner (Basile Starynkevitch \[news\]) (2005-04-02)
Re: c code inliner (2005-04-02)
Re: c code inliner (Eric Eide) (2005-04-02)
Re: c code inliner (A Pietu Pohjalainen) (2005-04-26)
Re: c code inliner (2005-04-30)
Re: c code inliner (Ira Baxter) (2005-05-04)
| List of all articles for this month |

From: Eric Eide <>
Newsgroups: comp.compilers
Date: 2 Apr 2005 19:36:13 -0500
Organization: University of Utah School of Computing
References: 05-03-122
Keywords: C
Posted-Date: 02 Apr 2005 19:36:13 EST

"paulw" == paulw <> writes:

paulw> Can gcc or cpp produce c code after inlining? I.e. I only want
paulw> my c code after inlining but not compiled. Sort of like
paulw> preprocessing "-E" but with inlining. Or any one knows any
paulw> tools that does only "controlled" inlining? I don't need
paulw> optimization or any thing, just inlining.

You might be interested in CMI, the Cross-Module Inliner:

>From the Web page:

CMI is an optimizing frontend for gcc which allows gcc to inline across
module boundaries without requiring you to put inline functions in
header files or even mark inline functions for inlining.

Note that CMI is unsupported, research software.


Eric Eide <> . University of Utah School of Computing . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX

Post a followup to this message

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