Re: Determining if a method is actually inlined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeffrey Holle <jeffreyholle@xxxxxxxxxxxxx> writes:

> I am using gcc 4.0.2.
> 
> I'm know that the inline keyword is only a sugguestion to a C++
> compiler, because the method's complexity might make inlining
> impossible.
> 
> Is there a way to determine if a given method was actually inlined?

You can use -Winline to get a warning when a function marked 'inline'
is not actually inlined.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux