Re: [PATCH] libstdc++, v2: Implement std::byteswap for C++23

2021-11-27 Thread Jonathan Wakely via Gcc-patches
On Sat, 27 Nov 2021, 12:20 Jakub Jelinek via Libstdc++, < libstd...@gcc.gnu.org> wrote: > On Sat, Nov 27, 2021 at 12:59:56PM +0100, Jakub Jelinek via Gcc-patches > wrote: > > This patch attempts to implement P1272R4 (except for the std::bit_cast > > changes in there which seem quite unrelated to t

[PATCH] libstdc++, v2: Implement std::byteswap for C++23

2021-11-27 Thread Jakub Jelinek via Gcc-patches
On Sat, Nov 27, 2021 at 12:59:56PM +0100, Jakub Jelinek via Gcc-patches wrote: > This patch attempts to implement P1272R4 (except for the std::bit_cast > changes in there which seem quite unrelated to this and will need to be > fixed on the compiler side). > While at least for GCC __builtin_bswap{1