https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82584

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
$ g++11  rando.cc   -D_GLIBCXX_ASSERTIONS
$ ./a.out
/home/jwakely/gcc/11/include/c++/11.0.0/bits/random.tcc:2633: void
std::discrete_distribution<_IntType>::param_type::_M_initialize() [with
_IntType = int]: Assertion '__sum > 0' failed.
Aborted (core dumped)

Reply via email to