aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sink.c
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2009-06-30 00:43:21 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2009-06-30 00:43:21 +0000
commitb94f4bef8b23eecdca3b8f83baddad1f21d74e3b (patch)
treedbaec49d85732480a0796f6612f4951346e1ec9f /gcc/tree-ssa-sink.c
parent15ab11cb467e45ef04da8c8521db0e80e83bfaad (diff)
downloadgcc-b94f4bef8b23eecdca3b8f83baddad1f21d74e3b.zip
gcc-b94f4bef8b23eecdca3b8f83baddad1f21d74e3b.tar.gz
gcc-b94f4bef8b23eecdca3b8f83baddad1f21d74e3b.tar.bz2
random.h (__mod(_Tp)): Use defaults.
2009-06-29 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (__mod(_Tp)): Use defaults. (struct _Mod): Adjust template parameters. (linear_congruential_engine<>::operator()()): Adjust. (typedef _UInt32Type): Remove. (mersenne_twister_engine<>::initialization_multiplier): Fix type. * include/bits/random.tcc (struct _Mod): Adjust template parameters. (linear_congruential_engine<>::seed(result_type)): Adjust __mod calls. (mersenne_twister_engine<>::seed(result_type)): Likewise. (mersenne_twister_engine<>::seed(seed_seq&)): Likewise. (subtract_with_carry_engine<>::seed(result_type)): Likewise. (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise. (seed_seq::seed_seq(std::initializer_list<>)): Likewise. (seed_seq::seed_seq(_InputIterator, _InputIterator)): Likewise. (seed_seq::generate(_RandomAccessIterator, _RandomAccessIterator)): Likewise. * include/bits/random.tcc (mersenne_twister_engine<>::seed(result_type)): Fix i usage in the formula (i mod n). (mersenne_twister_engine<>::seed(seed_seq&)): Use uint_least32_t as array type. (subtract_with_carry_engine<>::seed(seed_seq&)): Likewise; fix array size. (subtract_with_carry_engine<>::seed(result_type)): Fix; also use uint_least32_t. From-SVN: r149074
Diffstat (limited to 'gcc/tree-ssa-sink.c')
0 files changed, 0 insertions, 0 deletions