develooper Front page | perl.perl5.porters | Postings from February 2013

inline failing

Thread Next
Karl Williamson
February 28, 2013 00:11
inline failing
Message ID:

Brian Fraser pointed out to me that according to the gcc docs, an 
inlined function's definition must come before it is called.  It turns 
out that -Winlining is supposed to tell you of all the failures.

I tried this and got many messages.  The most common was like this
perl.c: In function ‘Perl_call_sv’:
inline.h:66: warning: inlining failed in call to ‘S_SvREFCNT_dec’: call 
is unlikely and code size would grow
perl.c:2725: warning: called from here

There were 244 of these.  All the messages were of this type.  Things 
that I thought would raise a message (because of ordering) didn't.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About