[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-01-28 Thread dieram3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 --- Comment #4 from Diego Ramirez --- I think the way to fix this is finding the the first pool block size `B` such as `B >= size` and `B & (alignment - 1) == 0` (or in other words `gcd(B, alignment) == alignment)`). The starting point in `pool

[Bug libstdc++/118681] New: [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-01-28 Thread dieram3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 Bug ID: 118681 Summary: [C++17] unsynchronized_pool_resource may fail to respect alignment Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/117822] New: [C++23] basic_stacktrace allocator-extended move constructor uses _Allocator instead of _AllocTraits

2024-11-27 Thread dieram3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117822 Bug ID: 117822 Summary: [C++23] basic_stacktrace allocator-extended move constructor uses _Allocator instead of _AllocTraits Product: gcc Version: 14.2.0 Status: UNCONFI