Re: template function inlining in g++ version < 4.0

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

 



Stephan Tolksdorf wrote:
Now I'm having difficulties understanding when exactly this bug is triggered. Could maybe someone explain to me under which circumstances GCC 3.4 fails to inline a templated function? Are there any general workarounds? Is there any chance that the compiler inlines code even though always_inline fails?

Seems like the problems I had were caused by using "__attribute__((always_inline))" without an accompanying "inline".

Stephan


[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