delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/22/00:36:24

Sender: nate AT cartsys DOT com
Message-ID: <37969EE2.EFF3B101@cartsys.com>
Date: Wed, 21 Jul 1999 21:32:34 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Optimization options
References: <379619ED DOT DDB73009 AT maths DOT unine DOT ch> <sYnl3.2432$Vb4 DOT 15876 AT tundra DOT ops DOT attcanada DOT net> <379622CB DOT 98D98DCD AT maths DOT unine DOT ch>
Reply-To: djgpp AT delorie DOT com

Gautier wrote:
> 
> > For almost every optimization command, there is a "no" option. If you want
> > to disable inlining, use this command:
> 
> > gcc etc. etc. etc.    -O3 -fno-inline -fno-inline-functions
> 
> Thanks, but I would like to keep the "manual", explicit inlinings:
> ("pragma inline xyz" with Ada front end) - "-fno-inline" disables
> them!
> 
> I'm looking for a sort of "-fno-auto-inline"...

-fno-inline-functions alone should do this.  In fact -O3 is documented
as being like -O2 -finline-functions.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019