This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: templated cmath function instantiation
- To: Kurt Garloff <garloff at suse dot de>
- Subject: Re: templated cmath function instantiation
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Fri, 22 Jun 2001 18:30:25 -0400
- Cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- References: <20010620140750.G9394@garloff.etpnet.phys.tue.nl>
[libstdc++ list added]
On Wed, Jun 20, 2001 at 02:07:50PM +0200, Kurt Garloff wrote:
> I'm rather sure this is a bug: -fno-implicit-templates is not supposed to
> change the underlying C++ std library, is it?
> The compiler probably can't just ignore the flag for included C++ std
> headers, but then, those symbols should be (weakly) present in libstdc++.so.
> At least for the templates only used internally.
Yep. I've verified this (and just now saw your PR 3377 in GNATS), and
adding the explicit instantiation is the right thing to do here (tested
and reproduced).
Gaby, Benjamin, which file gets the symbol? The only math-related explicit
instantitations file we have so far is for valarray.
This should go on the branch, too.
Phil
--
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
- anonymous Egyptian scribe, c.1700 BC