This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r244475 - in /branches/gcc-5-branch/libstdc++-v...
- From: ville at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Sun, 15 Jan 2017 16:27:08 -0000
- Subject: r244475 - in /branches/gcc-5-branch/libstdc++-v...
Author: ville
Date: Sun Jan 15 16:27:08 2017
New Revision: 244475
URL: https://gcc.gnu.org/viewcvs?rev=244475&root=gcc&view=rev
Log:
Backport from mainline
2017-01-13 Ville Voutilainen <ville.voutilainen@gmail.com>
PR libstdc++/78389
* include/bits/list.tcc (merge(list&&)):
Adjust list sizes if the comparator throws.
(merge(list&&, _StrictWeakOrdering)): Likewise.
* testsuite/23_containers/list/operations/78389.cc: New.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/list/operations/78389.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/list.tcc