This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inline of elem_hash failed


On Thu, Sep 18, 2003 at 09:37:38AM +0200, Thorsten Kukuk wrote:
> with gcc 3.3.1 I get a lot of:
> 
> ../locale/elem-hash.h:24: warning: inlining failed in call to `elem_hash'
> 
> what would be the correct fix? Removing inline, adding always inline,
> ignring this warning or compiler problem?
> 
> And there is one:
> ../sysdeps/posix/sprofil.c:76: warning: inlining failed in call to `pc_to_index'
> ../sysdeps/posix/sprofil.c:83: warning: called from here

Last time I looked at the rh spec file it was making use of:-

  -finline-limit=2000

Not seeing any "inlining failed" warnings here when using that setting.

Greg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]