Re: c code inliner

Eric Eide <eeide@cs.utah.edu>
2 Apr 2005 19:36:13 -0500

          From comp.compilers

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)
| List of all articles for this month |

From: Eric Eide <eeide@cs.utah.edu>
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 <paulw@mmail.ath.cx> 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:


http://www.cs.utah.edu/flux/alchemy/cmi.html


>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.


--
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu> . University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +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.