]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR libstdc++/80034
authorville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Mar 2017 19:41:50 +0000 (19:41 +0000)
committerville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Mar 2017 19:41:50 +0000 (19:41 +0000)
commit0d8185a257cba182fbfa111dce86593373d1e36e
treef59ccedbb7a931ecd5f1cb4d3d1b7cb3a83dde31
parent781c10fe49ef4d2b49388a747648d42948e30cc0
PR libstdc++/80034
* include/bits/list.tcc (merge(list&&)): Use const for the size_t
in the catch-block.
(merge(list&&, _StrictWeakOrdering)): Likewise.
* testsuite/23_containers/list/operations/80034.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246107 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/list.tcc
libstdc++-v3/testsuite/23_containers/list/operations/80034.cc [new file with mode: 0644]