2013-10-20 Chris Jefferson <chris@bubblescope.net>
commitfe019f032fe177df5b9ba3c31297a48ba6382cff
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Oct 2013 09:07:36 +0000 (20 09:07 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Oct 2013 09:07:36 +0000 (20 09:07 +0000)
tree1f64adbbc0231874e5ddbb09a2b1cc67effe6cc5
parent932701d47f0b19f9849960de3f82eded92c69a7a
2013-10-20  Chris Jefferson  <chris@bubblescope.net>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/58800
* include/bits/stl_algo.h (__unguarded_partition_pivot): Change
__last - 2 to __last - 1.
* testsuite/25_algorithms/nth_element/58800.cc: New

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203872 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/25_algorithms/nth_element/58800.cc [new file with mode: 0644]