diff options
author | Chris Jefferson <chris@bubblescope.net> | 2013-10-20 09:07:36 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2013-10-20 09:07:36 +0000 |
commit | f5b9d5e877cff9d344645362dc57980a6c747e2c (patch) | |
tree | 1f64adbbc0231874e5ddbb09a2b1cc67effe6cc5 /gcc | |
parent | fac129d88e25ff32e2cc532d3809ecc65b2d764a (diff) | |
download | gcc-f5b9d5e877cff9d344645362dc57980a6c747e2c.zip gcc-f5b9d5e877cff9d344645362dc57980a6c747e2c.tar.gz gcc-f5b9d5e877cff9d344645362dc57980a6c747e2c.tar.bz2 |
re PR libstdc++/58800 (std::nth_element segfaults on valid input)
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
Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r203872
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions