[Bug libstdc++/59603] std::random_shuffle tries to swap element with itself

joerg.richter@pdv-fs.de gcc-bugzilla@gcc.gnu.org
Tue Feb 4 08:38:00 GMT 2014


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.


More information about the Gcc-bugs mailing list