Re: [PATCH] PR libstdc++/86138 prevent implicit instantiation of COW empty rep

2018-06-26 Thread Jonathan Wakely
On 22/06/18 00:28 +0100, Jonathan Wakely wrote: The explicit instantiation declarations for std::basic_string are disabled for C++17 (and later) so that basic_string symbols get implicitly instantiated in every translation unit that needs them. On targets that don't support STB_GNU_UNIQUE this l

[PATCH] PR libstdc++/86138 prevent implicit instantiation of COW empty rep

2018-06-21 Thread Jonathan Wakely
The explicit instantiation declarations for std::basic_string are disabled for C++17 (and later) so that basic_string symbols get implicitly instantiated in every translation unit that needs them. On targets that don't support STB_GNU_UNIQUE this leads to multiple copies of the empty rep symbol f