Message-Id: Date: Fri, 19 Mar 99 06:49 From: strasbur AT chkw386 DOT ch DOT pwr DOT wroc DOT pl (Krzysztof Strasburger) To: pgcc AT delorie DOT com Subject: Re: Questions on inlining of code Reply-To: pgcc AT delorie DOT com > > 1. Is it possible to disable automatic inlining (compiler switches -O3 or > > -finline) while still respecting the inline declaration in the source code? > > I'd like to compile with max optimization (-O6) while avoiding the bloat > > that comes with aggressive inlining of code. At the same time, though, I > > don't want to disabled the inlining of code explicitly declared as such. >The only difference between -O2 and -On for n > 2 is automatic function >inlining. So, just use -O2. This is not true. There are many other transformations of the code enabled by higher n. But you can disable code inlining. Just use -O6 with -fno-inline-functions. Krzysztof