[Bug libstdc++/81806] Split in pbds works in O(n) instead of O(log n)

2024-06-08 Thread adamant.pwn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81806 --- Comment #14 from Oleksandr Kulkov --- Hi all, I wanted to bump this thread very briefly. I think going with the fix at https://gcc.gnu.org/bugzilla/attachment.cgi?id=47615&action=diff from Xi would make sense, unless someone proposes a solut

[Bug c++/115399] New: std::tr2::dynamic_bitset shift behaves differently from std::bitset

2024-06-08 Thread adamant.pwn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115399 Bug ID: 115399 Summary: std::tr2::dynamic_bitset shift behaves differently from std::bitset Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/115399] std::tr2::dynamic_bitset shift behaves differently from std::bitset

2024-06-08 Thread adamant.pwn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115399 --- Comment #1 from Oleksandr Kulkov --- The bug also affects right shift for a similar reason (https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/tr2/dynamic_bitset.tcc#L91): #include #include #include #include int mai