Re: Function call inlining

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

 



On 08/27/2015 04:34 PM, Matwey V. Kornilov wrote:
> I use gcc-4.8.2 and see that arr[index](std::forward<T>(p), func) call
> is not inlined.
> The question here is the following. All function pointers are known at
> compile time. So, why don't expand this code into analogous to the
> following?

I suspect that no-one has explained because no-one understands why
anyone would want to make such an "optimization".

Andrew.




[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