This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++] New implementation of concept checking
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: [libstdc++] New implementation of concept checking
- From: Jason Merrill <jason_merrill at redhat dot com>
- Date: 06 Apr 2001 01:47:53 +0100
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <20010402204514.A30501@disaster.jaj.com>
>>>>> "Phil" == Phil Edwards <pedwards@disaster.jaj.com> writes:
> It Would Be Cool if we could tell the compiler, "oh, after instantiating
> this symbol, don't bother emitting it at all, not even as a weak symbol,"
> which would give us zero space cost as well as zero runtime cost. Heh.
We shouldn't be emitting weak symbols that aren't referenced.
> 2) Since large chunks of libstdc++ are built -fno-implicit-templates,
> the instantiations resulting from the typedefs become unresolved symbols
> during final executable linking.
So they are referenced, then. That would seem to be the bug...
Jason