This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41019] New: Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".
- From: "m_albert137 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2009 20:56:41 -0000
- Subject: [Bug c++/41019] New: Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached code, we compiled with "-O3", gives an incorrect sequence (and
different from the sequence without optimization or -O1 or -O2).
This problem was discovered due to incorrect statistical behavior of a Monte
Carlo calculation (not attached).
--
Summary: Variate_generator with mt19937 and normal_distribution
produces wrong sequence for "-O3".
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: m_albert137 at yahoo dot com
GCC host triplet: x86_64-unknown-linux-gnu Core2 Q9550
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41019