This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Libstdc++-v3 vs darwin vs weak support
- From: Geoffrey Keating <geoffk at geoffk dot org>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: 15 Mar 2005 16:31:05 -0800
- Subject: Re: Libstdc++-v3 vs darwin vs weak support
- References: <42377AE5.1050405@suse.de>
Paolo Carlini <pcarlini@suse.de> writes:
> Hi,
>
> in March 2004 we added to many libstdc++-v3 testcases lines similar to
>
> #if !__GXX_WEAK__ && _MT_ALLOCATOR_H
> // Explicitly instantiate for systems with no COMDAT or weak support.
> template class __gnu_cxx::__mt_alloc<std::_List_node<int> >;
> #endif
>
> AFAIK, only in order to avoid spurious failures on darwin.
>
> I'd like to know from the maintainers (or other knowledgeable people)
> which is the current situation, whether those explicit instantiations
> are still needed. I'm asking because I mean to move from v7 to
> mainline a bunch of similar testcases...
Darwin now has weak/comdat support, so it doesn't need or use this any more.
However, AIX does need them, I think.