re PR libstdc++/67309 (Error compiling with -std=c++11 and -fsingle-precision-constant)
authorJonathan Wakely <jwakely@redhat.com>
Mon, 24 Aug 2015 13:43:36 +0000 (14:43 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 24 Aug 2015 13:43:36 +0000 (14:43 +0100)
commit3af7efb7d966228f55664175c029d02d21b69873
treed21776dc671e092e67b7ecb887c860602c390150
parent8e87588a594a6ed6785b7da342a82a63497d4556
re PR libstdc++/67309 (Error compiling with -std=c++11 and -fsingle-precision-constant)

PR libstdc++/67309
* include/bits/random.tcc
(poisson_distribution::param_type::_M_initialize): Use max<double>.
(binomial_distribution::param_type::_M_initialize): Likewise.
* testsuite/17_intro/headers/c++200x/67309.cc: New.
* testsuite/17_intro/headers/c++200x/all_attributes.cc: Remove
redundant header.

From-SVN: r227126
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.tcc
libstdc++-v3/testsuite/17_intro/headers/c++200x/67309.cc [new file with mode: 0644]
libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc