[Bug libstdc++/68925] uniform_int_distribution needs not to be thread_local in std::experimental::randint
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 18 17:19:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68925
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jan 18 17:18:47 2017
New Revision: 244584
URL: https://gcc.gnu.org/viewcvs?rev=244584&root=gcc&view=rev
Log:
PR68925 don't use thread_local static for stateless object
PR libstdc++/68925
* include/experimental/random (randint): Use temporary instead of
thread_local static.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/experimental/random
More information about the Gcc-bugs
mailing list