https://gcc.gnu.org/g:9af9532118c2c11b545700e74202b061396bb31c
commit r16-4264-g9af9532118c2c11b545700e74202b061396bb31c Author: Jonathan Wakely <[email protected]> Date: Wed Oct 1 13:48:18 2025 +0100 libstdc++: Fix -Wreorder warning in std::philox_engine libstdc++-v3/ChangeLog: * include/bits/random.h (philox_engine(result_type)): Reorder ctor-initializer-list to match declaration order. Diff: --- libstdc++-v3/include/bits/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/bits/random.h b/libstdc++-v3/include/bits/random.h index 4049a77fbf4c..ebc863e84534 100644 --- a/libstdc++-v3/include/bits/random.h +++ b/libstdc++-v3/include/bits/random.h @@ -1778,7 +1778,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION explicit philox_engine(result_type __value) - : _M_x{}, _M_y{}, _M_k{}, _M_i(__n - 1) + : _M_x{}, _M_k{}, _M_y{}, _M_i(__n - 1) { _M_k[0] = __value & max(); } /** @brief seed sequence constructor for %philox_engine
