aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorNina Dinka Ranns <dinka.ranns@gmail.com>2019-05-30 19:48:48 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-05-30 20:48:48 +0100
commit046af809f31e24d378a78820619cb0788afd62f9 (patch)
treec88ec42e02542b860de151cb357fe16d33466a2b /gcc/tree-nested.c
parent608f8e107d7953c5f1302c54e6301964f7168c97 (diff)
downloadgcc-046af809f31e24d378a78820619cb0788afd62f9.zip
gcc-046af809f31e24d378a78820619cb0788afd62f9.tar.gz
gcc-046af809f31e24d378a78820619cb0788afd62f9.tar.bz2
LWG2788 basic_string spurious use of a default constructible allocator
This only change the cxx11 basic_string, because COW strings don't correctly propagate allocators anyway. 2019-05-30 Nina Dinka Ranns <dinka.ranns@gmail.com> LWG2788 basic_string spurious use of a default constructible allocator * include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI] (basic_string::_M_replace_dispatch): Construct temporary string with the current allocator. * testsuite/21_strings/basic_string/allocator/char/lwg2788.cc: New. * testsuite/21_strings/basic_string/allocator/wchar_t/lwg2788.cc: New. From-SVN: r271789
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions