diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-09-12 14:30:35 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-09-12 14:30:35 +0100 |
commit | bc5022d0114c306684f4f21c91716fb91c83fdc6 (patch) | |
tree | b6136e609c67d0b85b3b2a73e97b8141cf1d97c1 /gcc/rtl.h | |
parent | 139c9e3b9b08cdeedbf9191c792d220499638894 (diff) | |
download | gcc-bc5022d0114c306684f4f21c91716fb91c83fdc6.zip gcc-bc5022d0114c306684f4f21c91716fb91c83fdc6.tar.gz gcc-bc5022d0114c306684f4f21c91716fb91c83fdc6.tar.bz2 |
re PR libstdc++/59603 (std::random_shuffle tries to swap element with itself)
PR libstdc++/59603
* include/bits/stl_algo.h (random_shuffle): Prevent self-swapping.
* testsuite/25_algorithms/random_shuffle/59603.cc: New.
From-SVN: r215219
Diffstat (limited to 'gcc/rtl.h')
0 files changed, 0 insertions, 0 deletions