[Bug libstdc++/95079] unorderd_map::insert_or_assign and try_emplace should only hash and mod once unless there is a rehash.

2020-05-24 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95079 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug libstdc++/90409] std::move[_backward] could be more optimized for deque iterators

2020-06-30 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90409 François Dumont changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug libstdc++/96088] Range insertion into unordered_map is less effective than a loop with insertion

2020-07-08 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96088 --- Comment #1 from François Dumont --- The core issue here is that unordered_map key type is std::string while you insert const char* which explains the temporary. In f2 you use insert(Pair&&) method so a temporary is generated but then moved i

[Bug libstdc++/96088] Range insertion into unordered_map is less effective than a loop with insertion

2020-08-04 Thread fdumont at gcc dot gnu.org
|1 Last reconfirmed||2020-08-04 Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org --- Comment #5 from François Dumont --- After further investigation the unordered containers are also suffering from a problem

[Bug libstdc++/91620] std::[forward_]list::remove_if/unique should respect to DR 526

2020-08-11 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91620 François Dumont changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/91856] std::list::remove(const T& value) is broken with -D_GLIBCXX_DEBUG when value is a reference inside the list

2019-12-19 Thread fdumont at gcc dot gnu.org
||fdumont at gcc dot gnu.org Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #1 from François Dumont --- This problem has already been fixed while upgrading std::list::remove signature for C++17. The fix is

[Bug libstdc++/91620] std::[forward_]list::remove_if/unique should respect to DR 526

2019-12-19 Thread fdumont at gcc dot gnu.org
||2019-12-19 CC||fdumont at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from François Dumont --- I take it !

[Bug libstdc++/91263] unordered_map and unordered_set operator== double key comparison causes exponential behavior

2020-01-06 Thread fdumont at gcc dot gnu.org
||2020-01-06 CC||fdumont at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from François Dumont --- I confirm. I

[Bug libstdc++/92124] std::vector copy-assigning when it should move-assign.

2020-01-07 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92124 --- Comment #4 from François Dumont --- Author: fdumont Date: Tue Jan 7 21:01:37 2020 New Revision: 279967 URL: https://gcc.gnu.org/viewcvs?rev=279967&root=gcc&view=rev Log: PR libstdc++/92124 fix incorrect container move assignment *

[Bug libstdc++/92124] std::vector copy-assigning when it should move-assign.

2020-01-08 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92124 --- Comment #5 from François Dumont --- Author: fdumont Date: Thu Jan 9 05:40:08 2020 New Revision: 280028 URL: https://gcc.gnu.org/viewcvs?rev=280028&root=gcc&view=rev Log: PR libstdc++/92124 fix incorrect unordered container move assignment

[Bug libstdc++/54296] using the object in the map to erase element from the map crashes

2012-08-26 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54296 --- Comment #2 from François Dumont 2012-08-26 10:55:43 UTC --- I will have a closer look but what I can say for the moment is that the tested source code doesn't seem to match the latest trunk state, the line numbers don't match. Can you have a

[Bug libstdc++/54296] using the object in the map to erase element from the map crashes

2012-08-27 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54296 --- Comment #7 from François Dumont 2012-08-27 07:58:49 UTC --- I confirm that it is an old issue, it has surely always be there. I managed to reproduce it from the testsuite. The problem is that the current code works fine when the key instance

[Bug libstdc++/54296] using the object in the map to erase element from the map crashes

2012-09-05 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54296 --- Comment #9 from François Dumont 2012-09-05 19:41:21 UTC --- Author: fdumont Date: Wed Sep 5 19:41:16 2012 New Revision: 190991 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190991 Log: 2012-09-05 François Dumont PR libstdc++

[Bug libstdc++/44436] [C++0x] Implement emplace* in associative containers

2012-09-24 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 --- Comment #32 from François Dumont 2012-09-24 19:53:46 UTC --- Author: fdumont Date: Mon Sep 24 19:53:36 2012 New Revision: 191679 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191679 Log: 2012-09-24 François Dumont PR libstdc

[Bug libstdc++/54075] [4.7.1] unordered_map insert 3x slower than 4.6.2

2012-10-24 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #30 from François Dumont 2012-10-24 19:27:58 UTC --- I am going to take a look to 4.4 implementation to see if I can explain the difference. But waiting for that can you confirm that without the reserve the number of rehash is simila

[Bug libstdc++/54075] [4.7.1] unordered_map insert 3x slower than 4.6.2

2012-11-03 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #33 from François Dumont 2012-11-03 15:28:30 UTC --- I fear that this performance issue is a normal drawback of the major enhancement for PR 41975. Before this evolution the hashtable data model was like a std::vector. During the ins

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2012-11-06 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #38 from François Dumont 2012-11-06 21:22:48 UTC --- Sure, I will. However I don't expect this problem to have any relation with the performance subject of this PR.

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2012-11-08 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #44 from François Dumont 2012-11-08 20:06:08 UTC --- Author: fdumont Date: Thu Nov 8 20:06:00 2012 New Revision: 193335 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193335 Log: 2012-11-08 François Dumont PR libstdc

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2012-11-08 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #45 from François Dumont 2012-11-08 20:16:15 UTC --- Author: fdumont Date: Thu Nov 8 20:16:04 2012 New Revision: 193339 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193339 Log: 2012-11-08 François Dumont PR libstdc

[Bug libstdc++/13631] Problems in messages

2011-01-14 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13631 --- Comment #30 from François Dumont 2011-01-14 21:36:34 UTC --- Created attachment 22967 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22967 locale message facet patch Hi Here is a patch proposition based on revision 168822. I can't ap

[Bug libstdc++/57779] vector insert fails to diagnose iterators pointing into *this in debug mode

2013-07-04 Thread fdumont at gcc dot gnu.org
||2013-07-04 CC||fdumont at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from François Dumont --- Sure I can take

[Bug libstdc++/57885] unordered_map find slower in 4.8.1 than 4.7.3 with integer key

2013-07-18 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57885 --- Comment #5 from François Dumont --- The biggest performance regression introduced in version 4.8 is coming from an attempt to enhance unordered containers global performances. The data model has been modified because the erase operation had be

[Bug libstdc++/57885] unordered_map find slower in 4.8.1 than 4.7.3 with integer key

2013-08-02 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57885 --- Comment #7 from François Dumont --- I had a try and the result is not good. I attached the modified implementation if you want to have a try even if it is not perfect cause there are some exception safety issue. With the current implementatio

[Bug libstdc++/57840] ::std ::result_of is undocumented

2013-08-02 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57840 François Dumont changed: What|Removed |Added CC||fdumont at gcc dot gnu.org --- Comment

[Bug libstdc++/57840] ::std ::result_of is undocumented

2013-08-02 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57840 --- Comment #2 from François Dumont --- Created attachment 30596 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30596&action=edit The modified hashtable implementation To replace hashtable.h in include/bits

[Bug libstdc++/57885] unordered_map find slower in 4.8.1 than 4.7.3 with integer key

2013-08-04 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57885 --- Comment #9 from François Dumont --- Created attachment 30610 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30610&action=edit hashtable_policy.h File to replace the one in include/bits folder

[Bug libstdc++/57885] unordered_map find slower in 4.8.1 than 4.7.3 with integer key

2013-08-04 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57885 --- Comment #10 from François Dumont --- Created attachment 30611 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30611&action=edit hashtable.h File to replace the one in include/bits

[Bug libstdc++/58153] unordered_multimap::erase(iterator) is not constant-time when many entries have the same key

2013-08-24 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58153 --- Comment #3 from François Dumont --- This report entry made me wonder why iterators could not just be pointing to the node just before the one containing the pointed to value. For instance begin() iterator would contained the before_begin one.

[Bug libstdc++/58153] unordered_multimap::erase(iterator) is not constant-time when many entries have the same key

2013-08-26 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58153 --- Comment #5 from François Dumont --- And your remark is good too and will avoid me to spend some time on this idea. Standard requirements regarding validity of iterators won't let us have iterators invalidated because another iterator is erased

[Bug libstdc++/58191] Can't use boost transform_iterator with _GLIBCXX_DEBUG

2013-08-30 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58191 --- Comment #9 from François Dumont --- Author: fdumont Date: Fri Aug 30 20:16:03 2013 New Revision: 202119 URL: http://gcc.gnu.org/viewcvs?rev=202119&root=gcc&view=rev Log: 2013-08-30 François Dumont PR libstdc++/58191 * include/debu

[Bug libstdc++/58148] [4.9 Regression] Fails to insert iterator range into sequence container with -D_GLIBCXX_DEBUG when conversion is needed

2013-08-30 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58148 --- Comment #3 from François Dumont --- Author: fdumont Date: Fri Aug 30 20:55:37 2013 New Revision: 202121 URL: http://gcc.gnu.org/viewcvs?rev=202121&root=gcc&view=rev Log: 2013-08-30 François Dumont PR libstdc++/58148 * include/debu

[Bug libstdc++/53115] [4.7/4.8 Regression] _Hashtable::_M_rehash_aux(false_type) is broken

2012-05-01 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53115 --- Comment #5 from François Dumont 2012-05-01 19:38:35 UTC --- Author: fdumont Date: Tue May 1 19:38:28 2012 New Revision: 187023 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187023 Log: 2012-05-01 François Dumont PR libstdc++

[Bug libstdc++/53115] [4.7/4.8 Regression] _Hashtable::_M_rehash_aux(false_type) is broken

2012-05-01 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53115 --- Comment #6 from François Dumont 2012-05-01 20:29:24 UTC --- Author: fdumont Date: Tue May 1 20:29:16 2012 New Revision: 187025 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187025 Log: 2012-05-01 François Dumont PR libstdc++

[Bug libstdc++/53263] priority_queue is very slow if -D_GLIBCXX_DEBUG is used

2012-05-07 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263 --- Comment #6 from François Dumont 2012-05-07 20:37:57 UTC --- I see 2 possible modifications for this problem. The first one would be to avoid the numerous calls to _M_can_advance. In priority_queue each time an element is pushed there is

[Bug libstdc++/53263] priority_queue is very slow if -D_GLIBCXX_DEBUG is used

2012-05-08 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263 --- Comment #10 from François Dumont 2012-05-08 19:31:49 UTC --- Ok, I will submit a patch tomorrow generalizing usage of __gnu_debug::__base in debug macros.

[Bug libstdc++/53263] priority_queue is very slow if -D_GLIBCXX_DEBUG is used

2012-05-11 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263 --- Comment #11 from François Dumont 2012-05-11 19:21:38 UTC --- Author: fdumont Date: Fri May 11 19:21:31 2012 New Revision: 187414 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187414 Log: 2012-05-11 François Dumont PR libstdc+

[Bug libstdc++/53263] priority_queue is very slow if -D_GLIBCXX_DEBUG is used

2012-05-14 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263 François Dumont changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug libstdc++/54075] [4.7.1] unordered_map 3x slower than 4.6.2

2012-07-24 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #9 from François Dumont 2012-07-24 20:15:10 UTC --- I confirm that the reserve method is broken. I had correctly handle the size hint that can be given through the hashtable constructor, I set _M_rehash_policy._M_prev_resize to 0 just

[Bug libstdc++/54075] [4.7.1] unordered_map 3x slower than 4.6.2

2012-07-24 Thread fdumont at gcc dot gnu.org
at gcc dot |fdumont at gcc dot gnu.org |gnu.org |

[Bug libstdc++/54075] [4.7.1] unordered_map 3x slower than 4.6.2

2012-07-25 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #11 from François Dumont 2012-07-25 19:32:53 UTC --- Author: fdumont Date: Wed Jul 25 19:32:48 2012 New Revision: 189863 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189863 Log: 2012-07-25 François Dumont PR libstdc+

[Bug libstdc++/54075] [4.7.1] unordered_map 3x slower than 4.6.2

2012-07-26 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #13 from François Dumont 2012-07-26 12:31:56 UTC --- Author: fdumont Date: Thu Jul 26 12:31:50 2012 New Revision: 189889 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189889 Log: 2012-07-26 François Dumont PR libstdc+

[Bug libstdc++/54075] [4.7.1] unordered_map insert 3x slower than 4.6.2

2012-07-27 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #21 from François Dumont 2012-07-27 07:57:59 UTC --- I haven't touch the grow speed for the moment. I prefer to fix the reserve Standard conformity first. Now I can restore the 4.6 grow speed as it seems to be a relatively correct on

[Bug libstdc++/54075] [4.7.1] unordered_map insert 3x slower than 4.6.2

2012-07-29 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #23 from François Dumont 2012-07-29 16:44:26 UTC --- Author: fdumont Date: Sun Jul 29 16:44:18 2012 New Revision: 189938 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189938 Log: 2012-07-29 François Dumont PR libstdc+

[Bug libstdc++/54075] [4.7.1] unordered_map insert 3x slower than 4.6.2

2012-07-29 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #24 from François Dumont 2012-07-29 17:06:25 UTC --- Author: fdumont Date: Sun Jul 29 17:06:21 2012 New Revision: 189941 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189941 Log: 2012-07-29 François Dumont PR libstdc+

[Bug libstdc++/52476] [DR 518] Unordered multimap reorders equivalent elements

2012-03-16 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52476 --- Comment #5 from François Dumont 2012-03-16 21:03:24 UTC --- Author: fdumont Date: Fri Mar 16 21:03:15 2012 New Revision: 185476 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185476 Log: 2012-03-15 François Dumont PR libstdc++

[Bug libstdc++/52476] [DR 518] Unordered multimap reorders equivalent elements

2012-04-09 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52476 --- Comment #6 from François Dumont 2012-04-09 19:12:23 UTC --- Author: fdumont Date: Mon Apr 9 19:12:18 2012 New Revision: 186249 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186249 Log: 2012-04-09 François Dumont PR libstdc++

[Bug libstdc++/59476] New: gdb pretty-printer cannot print C++11 _Rb_tree_iterator

2013-12-11 Thread fdumont at gcc dot gnu.org
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fdumont at gcc dot gnu.org Since adaptation of std::_Rb_tree_iterator to conform to C++11 allocator requirements there is no more _M_value_field member in _Rb_tree_iterator type when compile

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2011-11-23 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41975 --- Comment #33 from François Dumont 2011-11-23 20:30:25 UTC --- Author: fdumont Date: Wed Nov 23 20:30:18 2011 New Revision: 181677 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181677 Log: 2011-11-23 François Dumont PR libstdc++

[Bug libstdc++/51386] [4.7 Regression]: 23_containers/unordered_set/hash_policy/load_factor.cc execution timeout

2011-12-05 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51386 --- Comment #7 from François Dumont 2011-12-05 20:55:59 UTC --- The problem is in the hash policy, while computing _M_prev_resize the max load factor is not always considered. The result is that when max load factor is lower than 1 the hashtable

[Bug libstdc++/51386] [4.7 Regression]: 23_containers/unordered_set/hash_policy/load_factor.cc execution timeout

2011-12-07 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51386 --- Comment #8 from François Dumont 2011-12-07 19:47:08 UTC --- Author: fdumont Date: Wed Dec 7 19:47:03 2011 New Revision: 182085 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182085 Log: 2011-12-07 François Dumont PR libstdc++/

[Bug libstdc++/51608] [4.7 Regression][C++11] Unordered containers end(size_type) isn't constant time

2011-12-29 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51608 --- Comment #1 from François Dumont 2011-12-29 17:58:57 UTC --- Author: fdumont Date: Thu Dec 29 17:58:51 2011 New Revision: 182727 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182727 Log: 2011-12-29 François Dumont PR libstdc++/

[Bug libstdc++/51845] [4.7 regression] 23_containers/unordered_multimap/erase/24061-multimap.cc segfault

2012-01-15 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51845 --- Comment #13 from François Dumont 2012-01-15 21:13:59 UTC --- I will have a try with Valgrin but line numbers in the comments here do not seem to all match the latest hashtable code commited on trunk in revision 183164. This last commit really

[Bug libstdc++/51866] [c++0x][4.7 Regression] unordered_multiset compares moved-out values

2012-01-18 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51866 --- Comment #7 from François Dumont 2012-01-18 20:18:20 UTC --- Author: fdumont Date: Wed Jan 18 20:17:57 2012 New Revision: 183285 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183285 Log: 2012-01-18 François Dumont Roman Kon

[Bug libstdc++/51866] [c++0x][4.7 Regression] unordered_multiset compares moved-out values

2012-01-18 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51866 François Dumont changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug libstdc++/51845] [4.7 regression] 23_containers/unordered_multimap/erase/24061-multimap.cc segfault

2012-01-18 Thread fdumont at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51845 --- Comment #18 from François Dumont 2012-01-18 20:44:21 UTC --- I was about to say that resolution of PR 51866 might also explain the memory issue of this PR but I am now going to double check your post. Thanks

[Bug libstdc++/85768] [9 Regression] FreeBSD bootstrap fails due to undefined reference to 'backtrace'

2018-05-14 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85768 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug libstdc++/71181] Reserving in unordered_map doesn't reserve enough

2018-05-16 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71181 François Dumont changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/85845] [9 Regression] Many libstdc++ test failures

2018-05-20 Thread fdumont at gcc dot gnu.org
|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug libstdc++/85845] [9 Regression] Many libstdc++ test failures

2018-05-21 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85845 --- Comment #2 from François Dumont --- Author: fdumont Date: Mon May 21 16:51:47 2018 New Revision: 260478 URL: https://gcc.gnu.org/viewcvs?rev=260478&root=gcc&view=rev Log: 2018-05-21 François Dumont PR libstdc++/85845 * in

[Bug libstdc++/85845] [9 Regression] Many libstdc++ test failures

2018-05-21 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85845 François Dumont changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/85768] [9 Regression] FreeBSD bootstrap fails due to undefined reference to 'backtrace'

2018-05-25 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85768 --- Comment #4 from François Dumont --- Created attachment 44187 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44187&action=edit Remove backtrace usage during bootstrap. I wonder if this patch could fix the bootstrap ? I try to avoid the

[Bug libstdc++/85768] [9 Regression] FreeBSD bootstrap fails due to undefined reference to 'backtrace'

2018-05-25 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85768 --- Comment #5 from François Dumont --- Author: fdumont Date: Fri May 25 16:40:55 2018 New Revision: 260761 URL: https://gcc.gnu.org/viewcvs?rev=260761&root=gcc&view=rev Log: 2018-05-25 François Dumont PR libstdc++/85768 * sr

[Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2

2018-06-21 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86272 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug libstdc++/80761] std::set::insert_return_type uses wrong iterator type

2017-12-18 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80761 --- Comment #5 from François Dumont --- Author: fdumont Date: Mon Dec 18 21:59:17 2017 New Revision: 255789 URL: https://gcc.gnu.org/viewcvs?rev=255789&root=gcc&view=rev Log: 2017-11-20 François Dumont PR libstdc++/80761 * in

[Bug libstdc++/82522] std::map::insert(value_type &&) not selected

2017-12-20 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522 --- Comment #8 from François Dumont --- Author: fdumont Date: Wed Dec 20 21:53:25 2017 New Revision: 255904 URL: https://gcc.gnu.org/viewcvs?rev=255904&root=gcc&view=rev Log: 2017-12-20 François Dumont PR libstdc++/82522 * in

[Bug libstdc++/82522] std::map::insert(value_type &&) not selected

2017-12-27 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82522 --- Comment #9 from François Dumont --- Author: fdumont Date: Thu Dec 28 05:37:54 2017 New Revision: 256018 URL: https://gcc.gnu.org/viewcvs?rev=256018&root=gcc&view=rev Log: 2017-12-28 François Dumont Backport from mainline

[Bug libstdc++/83709] Inserting duplicates into an unordered associative containers causes the container to invalidate iterators

2018-01-07 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83709 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug libstdc++/83709] Inserting duplicates into an unordered associative containers causes the container to invalidate iterators

2018-01-08 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83709 François Dumont changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/83709] Inserting duplicates into an unordered associative containers causes the container to invalidate iterators

2018-01-09 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83709 --- Comment #2 from François Dumont --- Author: fdumont Date: Tue Jan 9 21:05:10 2018 New Revision: 256396 URL: https://gcc.gnu.org/viewcvs?rev=256396&root=gcc&view=rev Log: 2018-01-09 François Dumont PR libstdc++/83709 * in

[Bug libstdc++/83709] Inserting duplicates into an unordered associative containers causes the container to invalidate iterators

2018-01-10 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83709 François Dumont changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/89608] Undetected iterator invalidations on unordered containers in debug mode

2019-03-07 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89608 --- Comment #2 from François Dumont --- Author: fdumont Date: Fri Mar 8 05:37:50 2019 New Revision: 269478 URL: https://gcc.gnu.org/viewcvs?rev=269478&root=gcc&view=rev Log: 2019-03-08 François Dumont PR libstdc++/89608 * in

[Bug libstdc++/89477] Incorrect CTAD deduction guides for set and multiset

2019-03-07 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89477 --- Comment #6 from François Dumont --- Author: fdumont Date: Fri Mar 8 05:53:09 2019 New Revision: 269479 URL: https://gcc.gnu.org/viewcvs?rev=269479&root=gcc&view=rev Log: 2019-03-08 François Dumont PR libstdc++/89477 * in

[Bug libstdc++/90277] Debug Mode test failures

2019-05-04 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90277 --- Comment #1 from François Dumont --- Author: fdumont Date: Sat May 4 07:41:39 2019 New Revision: 270870 URL: https://gcc.gnu.org/viewcvs?rev=270870&root=gcc&view=rev Log: Add missing PR libstdc++/90277 reference. Modified: trunk/libstdc

[Bug libstdc++/90277] Debug Mode test failures

2019-05-05 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90277 François Dumont changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/90277] Debug Mode test failures

2019-05-08 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90277 --- Comment #5 from François Dumont --- Author: fdumont Date: Wed May 8 13:03:32 2019 New Revision: 271011 URL: https://gcc.gnu.org/viewcvs?rev=271011&root=gcc&view=rev Log: 2019-05-08 François Dumont PR libstdc++/90277 * te

[Bug libstdc++/90277] Debug Mode test failures

2019-05-08 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90277 François Dumont changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/90409] std::move[_backward] could be more optimized for deque iterators

2019-07-03 Thread fdumont at gcc dot gnu.org
||fdumont at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org --- Comment #1 from François Dumont --- Patch awaiting on mailing list: https://gcc.gnu.org/ml/libstdc++/2019-06/msg00097.html

[Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2

2018-07-04 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86272 --- Comment #5 from François Dumont --- Author: fdumont Date: Wed Jul 4 18:13:11 2018 New Revision: 262417 URL: https://gcc.gnu.org/viewcvs?rev=262417&root=gcc&view=rev Log: 2018-07-04 François Dumont PR libstdc++/86272 * in

[Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2

2018-07-04 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86272 --- Comment #6 from François Dumont --- Author: fdumont Date: Thu Jul 5 05:14:36 2018 New Revision: 262430 URL: https://gcc.gnu.org/viewcvs?rev=262430&root=gcc&view=rev Log: 2018-07-05 François Dumont Backport from mainline

[Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2

2018-07-05 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86272 --- Comment #7 from François Dumont --- Author: fdumont Date: Thu Jul 5 20:48:02 2018 New Revision: 262454 URL: https://gcc.gnu.org/viewcvs?rev=262454&root=gcc&view=rev Log: 2018-07-05 François Dumont Backport from mainline

[Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2

2018-07-05 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86272 --- Comment #8 from François Dumont --- Author: fdumont Date: Thu Jul 5 20:51:27 2018 New Revision: 262455 URL: https://gcc.gnu.org/viewcvs?rev=262455&root=gcc&view=rev Log: 2018-07-05 François Dumont Backport from mainline

[Bug libstdc++/86272] [6/7/8/9 Regression] __gnu_debug::string uses undefined __glibcxx_check_insert_range2

2018-07-06 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86272 François Dumont changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/83938] Speed up inplace_merge() algorithm & fix inefficient logic

2018-07-24 Thread fdumont at gcc dot gnu.org
||2018-07-24 CC||fdumont at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org Target Milestone|--- |9.0 Ever confirmed|0 |1

[Bug libstdc++/60519] Debug mode should check comparators for irreflexivity

2018-08-03 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60519 François Dumont changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/68222] _Safe_iterator provides operators the wrapped iterator can't actually support

2018-08-22 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68222 --- Comment #2 from François Dumont --- Author: fdumont Date: Wed Aug 22 18:51:25 2018 New Revision: 263786 URL: https://gcc.gnu.org/viewcvs?rev=263786&root=gcc&view=rev Log: 2018-08-22 François Dumont PR libstdc++/68222 * in

[Bug libstdc++/68222] _Safe_iterator provides operators the wrapped iterator can't actually support

2018-08-22 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68222 François Dumont changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/87135] [C++17] unordered containers violate iterator validity requirements

2018-09-18 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87135 --- Comment #2 from François Dumont --- Author: fdumont Date: Tue Sep 18 20:36:16 2018 New Revision: 264413 URL: https://gcc.gnu.org/viewcvs?rev=264413&root=gcc&view=rev Log: 2018-09-18 François Dumont PR libstdc++/87135 * sr

[Bug libstdc++/87135] [C++17] unordered containers violate iterator validity requirements

2018-09-18 Thread fdumont at gcc dot gnu.org
|--- |FIXED Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org --- Comment #3 from François Dumont --- Rehash policy has been reviewed, rehash will take place only when reserved size is overwhelmed.

[Bug libstdc++/87135] [C++17] unordered containers violate iterator validity requirements

2018-09-18 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87135 François Dumont changed: What|Removed |Added Target Milestone|--- |9.0

[Bug libstdc++/87135] [C++17] unordered containers violate iterator validity requirements

2018-09-21 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87135 --- Comment #4 from François Dumont --- Author: fdumont Date: Fri Sep 21 20:39:07 2018 New Revision: 264494 URL: https://gcc.gnu.org/viewcvs?rev=264494&root=gcc&view=rev Log: 2018-09-21 François Dumont PR libstdc++/87135 * sr

[Bug libstdc++/84998] [8 Regression] std::hash> fails in Debug Mode

2018-03-20 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84998 --- Comment #3 from François Dumont --- Author: fdumont Date: Tue Mar 20 21:45:14 2018 New Revision: 258693 URL: https://gcc.gnu.org/viewcvs?rev=258693&root=gcc&view=rev Log: 2018-03-20 François Dumont PR libstdc++/84998 * in

[Bug libstdc++/68303] performance: unordered_map&co. up to 7x speedup

2018-03-25 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68303 --- Comment #3 from François Dumont --- Even if I always considered unordered containers to be high volume containers that's an interesting idea. As this is a pretty old entry I guess I'll have to try it myself.

[Bug libstdc++/68222] _Safe_iterator provides operators the wrapped iterator can't actually support

2018-03-28 Thread fdumont at gcc dot gnu.org
||fdumont at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug libstdc++/87872] debug list::splice should not call _M_transfer_from_if on self-splices

2018-11-03 Thread fdumont at gcc dot gnu.org
||2018-11-03 Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from François Dumont --- All this reflection looks perfectly fine to me, thanks reporting it. Don't you want to sub

[Bug libstdc++/87872] debug list::splice should not call _M_transfer_from_if on self-splices

2018-11-06 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87872 --- Comment #4 from François Dumont --- Author: fdumont Date: Tue Nov 6 20:20:06 2018 New Revision: 265851 URL: https://gcc.gnu.org/viewcvs?rev=265851&root=gcc&view=rev Log: 2018-11-06 John Bytheway PR libstdc++/87872 * incl

[Bug libstdc++/87872] debug list::splice should not call _M_transfer_from_if on self-splices

2018-11-06 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87872 François Dumont changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/88199] [7/8/9 Regression] memory leak on unordered container move assignment

2018-11-27 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199 --- Comment #2 from François Dumont --- Author: fdumont Date: Tue Nov 27 21:21:51 2018 New Revision: 266528 URL: https://gcc.gnu.org/viewcvs?rev=266528&root=gcc&view=rev Log: 2018-11-27 François Dumont PR libstdc++/88199 * in

[Bug libstdc++/88199] [7/8 Regression] memory leak on unordered container move assignment

2018-11-27 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199 --- Comment #3 from François Dumont --- Author: fdumont Date: Wed Nov 28 06:19:38 2018 New Revision: 266542 URL: https://gcc.gnu.org/viewcvs?rev=266542&root=gcc&view=rev Log: 2018-11-28 François Dumont PR libstdc++/88199 * in

[Bug libstdc++/88199] [7/8 Regression] memory leak on unordered container move assignment

2018-11-27 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199 --- Comment #4 from François Dumont --- Author: fdumont Date: Wed Nov 28 06:27:28 2018 New Revision: 266543 URL: https://gcc.gnu.org/viewcvs?rev=266543&root=gcc&view=rev Log: 2018-11-28 François Dumont PR libstdc++/88199 * in

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2016-04-01 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #50 from François Dumont --- This performance issue is a result of fixing: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41975 It resulted in many more modulo operations and so expensive float divisions. I plan to commit an alternat

  1   2   >