C++ 'extern inline' magic possible?
Kevin P. Fleming
kpfleming@digium.com
Wed Mar 2 12:35:00 GMT 2011
On 03/01/2011 07:53 AM, David Brown wrote:
> If you want the compiler to inline functions where practical, even
> across different compilation units, and to use function calls when
> necessary, then you should look hard at using LTO. This gives the
> compiler the chance to inline function calls even though the definitions
> are not available in the compilation unit in which they are used.
That is on my agenda as well to investigate, but since GCC+binutils that
support LTO are very, very new and won't be in LTS-type Linux
distributions for some time, we can't quite expect our users to have
them available.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming@digium.com
Check us out at www.digium.com & www.asterisk.org
More information about the Gcc-help
mailing list