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++/33128] std::tr1::uniform_int returns value out of range



------- Comment #2 from paolo at gcc dot gnu dot org  2007-08-28 08:48 -------
Subject: Bug 33128

Author: paolo
Date: Tue Aug 28 08:48:24 2007
New Revision: 127849

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127849
Log:
2007-08-28  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/33128
        * include/tr1_impl/random (uniform_int<>::_M_call): Deal with
        __urng() returning negative values.
        * testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc:
        New.

Added:
   
trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/tr1_impl/random


-- 


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


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