This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262385 - in /branches/gcc-8-branch/libstdc++-v...
- From: redi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 04 Jul 2018 11:44:40 -0000
- Subject: r262385 - in /branches/gcc-8-branch/libstdc++-v...
Author: redi
Date: Wed Jul 4 11:44:39 2018
New Revision: 262385
URL: https://gcc.gnu.org/viewcvs?rev=262385&root=gcc&view=rev
Log:
Declare some explicit instantiations for strings in Debug Mode
The empty reps and the I/O functions do not need to be implicitly
instantiated to enable assertions, so declare the explicit
instantiations when _GLIBCXX_EXTERN_TEMPLATE == -1 (i.e. when
_GLIBCXX_ASSERTIONS is defined).
Backport from mainline
2018-06-27 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/86138
* include/bits/basic_string.tcc: [_GLIBCXX_EXTERN_TEMPLATE < 0]
Declare explicit instantiations of COW empty reps and I/O functions.
Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/include/bits/basic_string.tcc