-finline-functions does not affect libstdc++?

Chris Lattner sabre@nondot.org
Mon Oct 27 22:39:00 GMT 2003


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?

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/



More information about the Gcc mailing list