-finline-functions does not affect libstdc++?

Richard Guenther rguenth@tat.physik.uni-tuebingen.de
Mon Oct 27 22:41:00 GMT 2003


On Mon, 27 Oct 2003, Chris Lattner wrote:

> On Mon, 27 Oct 2003, Richard Guenther wrote:
> > > Can you give some examples?
> >
> > Of course, like
>
> > bits/stl_uninitialized.h:83
> > _ForwardIterator std::__uninitialized_copy_aux(_InputIterator,
> > _InputIterator, _ForwardIterator, __false_type)
> > bits/stl_uninitialized.h:187
> > _ForwardIterator std::__uninitialized_fill_n_aux(_ForwardIterator, _Size,
> > const _Tp&, __false_type)
>
> I'm not sure about these two...
>
> > ext/pool_allocator.h
> > static void* __gnu_cxx::__pool_alloc<__threads, __inst>::allocate(size_t)
>
> This one is not expanded by the C++ FE do to the:
>   extern template class __pool_alloc<true, 0>;
>
> declaration.  You can try undefing _GLIBCXX_EXTERN_TEMPLATE to get it
> back?

It didnt change anything (-U_GLIBCXX_EXTERN_TEMPLATE should work, no?).
But I dont know if it is indeed my performance problem, or not.

Richard.



More information about the Gcc mailing list