Is a function actually inlined?

Alex Vinokur alexvn@connect.to
Wed Oct 8 16:39:00 GMT 2003


"Corinna Vinschen" <corinna-cygwin@cygwin.com> wrote in message news:20031008100004.GC2070@cygbert.vinschen.de...
> On Wed, Oct 08, 2003 at 11:19:27AM +0200, Alex Vinokur wrote:
> > How can one know if a function requested to be inlined is actually inlined?
>
> A look into the assembler output generated by gcc/g++ will show you.
>

How can one conclude if a function is actually inlined on the basis working with  the nm and objdump utilities?
For instance, are 'the foo2() and foo3() function from my original posting' actually inlined?

   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================







--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list