[Bug libstdc++/83833] chi_squared_distribution::param() forgot to change the member gamma_distribution
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 29 14:45:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83833
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jan 29 14:44:48 2018
New Revision: 257149
URL: https://gcc.gnu.org/viewcvs?rev=257149&root=gcc&view=rev
Log:
PR libstdc++/83833 fix chi_squared_distribution::param(const param&)
Backport from mainline
2018-01-15 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/83833
* include/bits/random.h (chi_squared_distribution::param): Update
gamma distribution parameter.
* testsuite/26_numerics/random/chi_squared_distribution/83833.cc: New
test.
Added:
branches/gcc-6-branch/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/bits/random.h
--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jan 29 14:45:00 2018
New Revision: 257150
URL: https://gcc.gnu.org/viewcvs?rev=257150&root=gcc&view=rev
Log:
PR libstdc++/83833 fix failing test on ia32
PR libstdc++/83833
* testsuite/26_numerics/random/chi_squared_distribution/83833.cc:
Add -ffloat-store to options for m68k and ia32.
Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc
More information about the Gcc-bugs
mailing list