This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/49553] mt19937 number generator is broken on 64bit systems


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49553

--- Comment #1 from Boris Dolgov <boris at dolgov dot name> 2011-06-27 21:40:09 UTC ---
Created attachment 24610
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24610
Replace magic numbers to __WORDSIZE and __WORDSIZE-1

The attached patch solves the problem for me.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]