r244439 - in /trunk/libstdc++-v3: ChangeLog inc...

ville@gcc.gnu.org ville@gcc.gnu.org
Fri Jan 13 14:46:00 GMT 2017


Author: ville
Date: Fri Jan 13 14:46:25 2017
New Revision: 244439

URL: https://gcc.gnu.org/viewcvs?rev=244439&root=gcc&view=rev
Log:
PR libstdc++/78389
* include/bits/list.tcc (merge(list&&)):
Adjust list sizes if the comparator throws.
(merge(list&&, _StrictWeakOrdering)): Likewise.
(sort()): Splice elements back from the scratch buffers
if the comparator throws.
(sort(_StrictWeakOrdering)): Likewise.
* testsuite/23_containers/list/operations/78389.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/23_containers/list/operations/78389.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/list.tcc



More information about the Libstdc++-cvs mailing list