This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r165380 - in /branches/gcc-4_5-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Tue, 12 Oct 2010 13:53:19 -0000
- Subject: r165380 - in /branches/gcc-4_5-branch/libstdc++...
Author: paolo
Date: Tue Oct 12 13:53:18 2010
New Revision: 165380
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165380
Log:
2010-10-12 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/random.tcc (piecewise_linear_distribution<>::
operator()): Don't crash when the dist is default-constructed.
* testsuite/26_numerics/random/piecewise_linear_distribution/
operators/call-default.cc: New.
Added:
branches/gcc-4_5-branch/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/call-default.cc
Modified:
branches/gcc-4_5-branch/libstdc++-v3/ChangeLog
branches/gcc-4_5-branch/libstdc++-v3/include/bits/random.tcc