OSDN Git Service

2013-10-20 Chris Jefferson <chris@bubblescope.net>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Oct 2013 09:08:26 +0000 (09:08 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Oct 2013 09:08:26 +0000 (09:08 +0000)
commit3968a94a7941ee9bd5ba8e4c5e3e65083738cab8
tree0675b822ceb56a032eb6079beac83474c22acf78
parent737c95893399fa2e073437bc4b7403c18622275b
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/branches/gcc-4_7-branch@203874 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]