Using -O with DMD seems to produce non-random values.

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 19 08:49:17 PDT 2016


On 05/19/2016 05:09 PM, Michael wrote:
> Any idea what causes this to occur when optimising? I wanted to try and
> speed up a simulation I'm running but it just produces too many
> unexpected consequences.

I suspect that you're seeing issue 16027 [1], a bad bug in 2.071.0. The 
upcoming 2.071.1 point release should have it fixed.


[1] https://issues.dlang.org/show_bug.cgi?id=16027


More information about the Digitalmars-d-learn mailing list