fixing inlining warnings
Benjamin Kosnik
bkoz@redhat.com
Thu May 1 20:09:00 GMT 2003
>I suspect that many of these functions are not being inlined due simply
>to the fact that the functions they are being inlined into are already
>"too large" according to the current hueristics. An improvement on my
>-Winline fix would be to say *why* the function isn't being inlined, but
>I'm not likely to get to that any time soon.
Ok, it is as I expected. Sometimes these are inlined, sometimes not.
When they can't be inlined, it's warned about.
Thus, removing inline keywords and forcing them out of line is not
advisable. So, that won't be done. I'll just check in the patch to
remove -Winline.
Thanks,
benjamin
More information about the Libstdc++
mailing list