View Single Post

   
  #3 (permalink)  
Old 05-16-2008, 02:42 PM
Martijn van Oosterhout
 
Posts: n/a
Default Re: What to do with inline warnings?

On Wed, May 14, 2008 at 12:45:49PM -0400, Tom Lane wrote:
> > tqual.c: In function ‘HeapTupleSatisfiesVacuum’:
> > tqual.c:88: error: inlining failed in call to ‘SetHintBits’: call is unlikely and code size would grow
> > tqual.c:1057: error: called from here
> > tqual.c:88: error: inlining failed in call to ‘SetHintBits’: call is unlikely and code size would grow
> > tqual.c:1061: error: called from here

>
> Hmm, it's a bit disturbing that the compiler is taking it upon itself to
> decide that these calls are "unlikely".


Perhaps would should give it some idea about how likely they'd be,
because clearly it has no idea now.

Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIKyH0IB7bNG8LQkwRAiNqAJ98XaygmB59izeYItYRGm WxVIzMBQCfUEtX
Nydibho//XRxnB2Nzj4PvyA=
=CADw
-----END PGP SIGNATURE-----

Reply With Quote