[Bug tree-optimization/41019] Variate_generator with mt19937 and normal_distribution produces wrong sequence for "-O3".
afoglia at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 11 20:17:00 GMT 2009
------- Comment #5 from afoglia at gmail dot com 2009-08-11 20:17 -------
(In reply to comment #4)
> Disabling vectorization fixes the problem (-fno-tree-vectorize), happens on
> trunk as well. 4.3 doesn't like the testcase, so it's not yet a regression.
>
4.3 may not like the test case, but if you use Boost's variate_generator with
4.3, which can hold references to engines, you get the same results, implying
it's the use the mt19937 engine via reference that causes the problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41019
More information about the Gcc-bugs
mailing list