Re: [PATCH 1/2] libstdc++: Fix invalid signed arguments to functions

2025-02-20 Thread Jonathan Wakely
On Thu, 20 Feb 2025 at 14:41, Patrick Palka wrote: > > On Sat, 15 Feb 2025, Jonathan Wakely wrote: > > > These should have been unsigned, but the static assertions are only in > > the public std::bit_ceil and std::bit_width functions, not the internal > > __bit_ceil and __bit_width ones. > > > > l

Re: [PATCH 1/2] libstdc++: Fix invalid signed arguments to functions

2025-02-20 Thread Patrick Palka
On Sat, 15 Feb 2025, Jonathan Wakely wrote: > These should have been unsigned, but the static assertions are only in > the public std::bit_ceil and std::bit_width functions, not the internal > __bit_ceil and __bit_width ones. > > libstdc++-v3/ChangeLog: > > * include/experimental/bits/simd

[PATCH 1/2] libstdc++: Fix invalid signed arguments to functions

2025-02-15 Thread Jonathan Wakely
These should have been unsigned, but the static assertions are only in the public std::bit_ceil and std::bit_width functions, not the internal __bit_ceil and __bit_width ones. libstdc++-v3/ChangeLog: * include/experimental/bits/simd.h (__find_next_valid_abi): Cast __bit_ceil argum