[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Wed May 8 12:17:26 2019 New Revision: 271010 URL: https://gcc.gnu.org/viewcvs?rev=271010=gcc=rev Log: PR libstdc++/90105 make forward_list::sort stable While testing the fix I also

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-05-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 --- Comment #6 from Jonathan Wakely --- Also fixed for 8.4 now.

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-05-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Tue May 7 15:46:32 2019 New Revision: 270965 URL: https://gcc.gnu.org/viewcvs?rev=270965=gcc=rev Log: PR libstdc++/90105 make forward_list::sort stable While testing the fix I also

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-04-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Wed Apr 17 21:47:20 2019 New Revision: 270427 URL: https://gcc.gnu.org/viewcvs?rev=270427=gcc=rev Log: PR libstdc++/90105 make forward_list::sort stable While testing the fix I also

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 --- Comment #3 from Jonathan Wakely --- Patch posted to https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00669.html

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-04-16 Thread stoyanovmk at ornl dot gov
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 --- Comment #2 from stoyanovmk at ornl dot gov --- Tested the fix provided by Jonathan Wakely, I can confirm the fix. Ran several tests with the included small example and the code where I found the issue in the first place.(In reply to Jonathan

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 --- Comment #1 from Jonathan Wakely --- I think this is the fix: --- a/libstdc++-v3/include/bits/forward_list.tcc +++ b/libstdc++-v3/include/bits/forward_list.tcc @@ -469,9 +469,9 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER

[Bug libstdc++/90105] std::forward_list::sort() is not "stable"

2019-04-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90105 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|