[Bug libstdc++/97311] Bug in std::seed_seq::generate() when integer type has more than 32 bits

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 9 16:06:59 GMT 2020


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

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

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

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on master.

The current code produces the wrong results for signed 64-bit types, but I'm
not sure whether backporting it (and changing the results in the middle of a
release series) is a good idea.


More information about the Gcc-bugs mailing list