Re: [15/17] prevent hash set/map insertion of deleted entries

2022-12-28 Thread Jeff Law via Gcc-patches
On 12/28/22 05:32, Alexandre Oliva via Gcc-patches wrote: On Dec 27, 2022, David Malcolm wrote: Would it make sense to also add assertions that such entries aren't Traits::is_deleted? (both for hash_map and hash_set) Yeah, I guess so. I've come up with something for hash-table proper to

[15/17] prevent hash set/map insertion of deleted entries

2022-12-28 Thread Alexandre Oliva via Gcc-patches
On Dec 27, 2022, David Malcolm wrote: > Would it make sense to also add assertions that such entries aren't > Traits::is_deleted? (both for hash_map and hash_set) Yeah, I guess so. I've come up with something for hash-table proper too, coming up in 17/17. Just like the recently-added checks