]> gcc.gnu.org Git - gcc.git/commit
Declare some explicit instantiations for strings in Debug Mode
authorJonathan Wakely <jwakely@redhat.com>
Tue, 7 Aug 2018 22:50:55 +0000 (23:50 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 7 Aug 2018 22:50:55 +0000 (23:50 +0100)
commitbeaa526e137a69d8ac11dab92d00f9e362ebd875
treec56173b83221d8dac79a804dfbe0c463c2f44e9b
parent3c96f0f28f0585f7c5f1ee9df7d2598631a22672
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.

From-SVN: r263383
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.tcc
This page took 0.058103 seconds and 5 git commands to generate.