This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/59603] std::random_shuffle tries to swap element with itself
- From: "joerg dot richter at pdv-fs dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Feb 2014 08:37:53 +0000
- Subject: [Bug libstdc++/59603] std::random_shuffle tries to swap element with itself
- Auto-submitted: auto-generated
- References: <bug-59603-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59603
JÃrg Richter <joerg.richter@pdv-fs.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joerg.richter@pdv-fs.de
--- Comment #2 from JÃrg Richter <joerg.richter@pdv-fs.de> ---
Seems like we have hit this bug too. It happens not only in debug mode. We
have a testcase that triggers valgrind errors in non-debug mode while calling
random_shuffle. I can try to reduce this testcase if it would help.