inline of elem_hash failed

Greg Schafer gschafer@zip.com.au
Thu Sep 18 11:10:00 GMT 2003


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



More information about the Libc-alpha mailing list