Mail Archives: pgcc/1999/03/19/02:34:32
> > 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
- Raw text -