Date: Fri, 01 Aug 2014 10:52:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192303] C++11 std::list<>::remove_if() visits elements multiple times Message-ID: <bug-192303-8-gIcgeOf30B@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-192303-8@https.bugs.freebsd.org/bugzilla/> References: <bug-192303-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192303 --- Comment #2 from kamikaze@bsdforen.de --- Just built it using gcc49: gcc version 4.9.2 20140723 (prerelease) (FreeBSD Ports Collection) It produces the expected output: # ./main Initial list: 0 1 2 3 4 5 6 7 8 9 Remove odd numbers ... | val | remove |-----|-------- | 0 | | 1 | X | 2 | | 3 | X | 4 | | 5 | X | 6 | | 7 | X | 8 | | 9 | X Updated list: 0 2 4 6 8 Visits: 10 I also got independent confirmation of the issue: https://www.bsdforen.de/threads/c-11-bug-unter-freebsd-10.31225/ -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192303-8-gIcgeOf30B>