std::pow implementation
Richard Guenther
rguenth@tat.physik.uni-tuebingen.de
Wed Jul 30 14:19:00 GMT 2003
On Wed, 30 Jul 2003, Richard Guenther wrote:
> The only sane possible semantics I see are:
>
> 1. inline declared functions are inlined always if technically possible
> 2. the inline keyword has no effect
> 3. inline is handled in an implementation defined manner (as stated in the
> standard), maybe by adjusting the set of functions considered for inlining,
> as gcc does.
>
> I argue we cannot go away from #3 without portability problems (to other
> compilers and architectures).
Of course I see gcc's usage of #3 can be improved by, f.i. giving
inlining limits a boost for functions declared inline.
Richard.
More information about the Gcc
mailing list