Performance regression

Richard Henderson rth@redhat.com
Fri Sep 27 10:21:00 GMT 2002


On Fri, Sep 27, 2002 at 09:56:55AM -0700, Dale Johannesen wrote:
> Yes, -O3 -fomit-frame-pointer -funroll-loops.  I'll investigate why
> the inline isn't happening here; looks like it ought to be.  Bumping
> up the limit on the command line doesn't help.

It's rs6000_binds_local_p.  Since AIX forces flag_pic true, it is
effectively prevented from auto-inlining any non-static function.

I believe David said that AIX normally binds locally in shared
libraries, but there is a linker switch to change that default.
He also said that the IBM compiler doesn't change code generation
wrt that flag; it's up to David to decide what's best here for gcc.


r~



More information about the Gcc-patches mailing list