https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123409
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Tomasz Kaminski <[email protected]>: https://gcc.gnu.org/g:052c5de578fe6600f2b9a33aed8bd1fa79100c51 commit r15-11579-g052c5de578fe6600f2b9a33aed8bd1fa79100c51 Author: Tomasz KamiÅski <[email protected]> Date: Wed Sep 16 10:10:00 2026 +0200 libstdc++: Update underlying gamma_distribution in param() [PR123409] This updates the underlying gamma distribution in the param function by invoking the param function on the corresponding member: * _M_gd for negative_binomial_distribution, student_t_distribution; * _M_gd_x, _M_gd_y for fisher_f_distribution. The distribution_param.cc test, validates that for all distributions, constructing from or setting params results in equal distribution that produces same values. The test uses -ffloat-store for -m32, following chi_squared_distribution test for PR83833 - that is removed, as all cases are covered in new test. libstdc++-v3/ChangeLog: PR libstdc++/123409 * include/bits/random.h (negative_binomial_distribution::param) (fisher_f_distribution::param, student_t_distribution::param): Updated underlying gamma distributions, by calling param. (chi_squared_distribution::param): Use type alias and parenthesis for consistency. * testsuite/26_numerics/random/distribution_param.cc: New test. * testsuite/26_numerics/random/chi_squared_distribution/83833.cc: Removed, covered by above. Reviewed-by: Jonathan Wakely <[email protected]> (cherry picked from commit c638dae26f3134951e11aafe696787f83121571c)
