public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/59603] std::random_shuffle tries to swap element with itself Date: Fri, 12 Sep 2014 11:45:00 -0000 [thread overview] Message-ID: <bug-59603-4-0oqhPuBee1@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-59603-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59603 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jörg Richter from comment #2) > 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. Would you be able to provide such a test? self-move in non-debug mode should not cause valgrind errors, it should just cause the vector to be left empty (so the valgrind errors might come later if you assume the vector still contains data and try to access it). >From gcc-bugs-return-461667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Sep 12 11:53:26 2014 Return-Path: <gcc-bugs-return-461667-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 2071 invoked by alias); 12 Sep 2014 11:53:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 2001 invoked by uid 48); 12 Sep 2014 11:53:21 -0000 From: "mark at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/16063] Debuggers need more information about enum types in C++ Date: Fri, 12 Sep 2014 11:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 3.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mark at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: <bug-16063-4-B5dgusn8i2@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-16063-4@http.gcc.gnu.org/bugzilla/> References: <bug-16063-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-09/txt/msg01501.txt.bz2 Content-length: 547 https://gcc.gnu.org/bugzilla/show_bug.cgi?id\x16063 Mark Wielaard <mark at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Mark Wielaard <mark at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #9) > So, is this fixed? Yes, I do believe so, in gcc trunk. Sorry for not closing earlier.
next prev parent reply other threads:[~2014-09-12 11:45 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-12-26 16:36 [Bug libstdc++/59603] New: " fab at orlen dot de 2013-12-26 16:37 ` [Bug libstdc++/59603] " fab at orlen dot de 2014-02-04 8:38 ` joerg.richter@pdv-fs.de 2014-02-04 13:10 ` redi at gcc dot gnu.org 2014-02-08 20:19 ` redi at gcc dot gnu.org 2014-02-09 17:31 ` joerg.richter@pdv-fs.de 2014-02-10 19:00 ` redi at gcc dot gnu.org 2014-09-12 11:45 ` redi at gcc dot gnu.org [this message] 2014-09-12 13:31 ` redi at gcc dot gnu.org 2014-09-12 13:35 ` redi at gcc dot gnu.org 2014-12-06 20:38 ` redi at gcc dot gnu.org 2014-12-06 22:04 ` redi at gcc dot gnu.org 2015-09-16 11:37 ` TonyELewis at hotmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-59603-4-0oqhPuBee1@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).