diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-10-08 00:34:56 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-10-08 00:34:56 +0100 |
commit | 6ae17a3b6835b30102607d45ac89c7a668e2c8d4 (patch) | |
tree | 1ff8bb630a94695a5f2d4d56e617fcc6ea9369c8 /libcc1 | |
parent | 23f75da95f5e8e09e9fcbd5b0d2885e6c44739aa (diff) |
libstdc++: Fix divide by zero in default template argument
libstdc++-v3/ChangeLog:
* include/bits/random.h (__detail::_Mod): Avoid divide by zero.
* testsuite/26_numerics/random/linear_congruential_engine/operators/call.cc:
New test.
Diffstat (limited to 'libcc1')
0 files changed, 0 insertions, 0 deletions