r244492 - in /branches/gcc-6-branch/libstdc++-v...

ville@gcc.gnu.org ville@gcc.gnu.org
Mon Jan 16 13:30:00 GMT 2017


Author: ville
Date: Mon Jan 16 13:30:58 2017
New Revision: 244492

URL: https://gcc.gnu.org/viewcvs?rev=244492&root=gcc&view=rev
Log:
PR libstdc++/78389 fix backwards size adjustments

Backport from mainline
2017-01-16  Ville Voutilainen  <ville.voutilainen@gmail.com>

PR libstdc++/78389
* include/bits/list.tcc (merge(list&&)): Fix backwards size adjustments.
(merge(list&&, _StrictWeakOrdering)): Likewise.
* testsuite/23_containers/list/operations/78389.cc: Add
better test for the sizes.

Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/bits/list.tcc
    branches/gcc-6-branch/libstdc++-v3/testsuite/23_containers/list/operations/78389.cc



More information about the Gcc-cvs mailing list