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

Michael via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 19 08:32:41 PDT 2016


Could it be that the code is optimised to the same as that in the 
original issue and so the current compiler still produces the 
incorrect result? Obviously the original issue has since been 
fixed but I won't be able to test this until the next version of 
DMD is released.



More information about the Digitalmars-d-learn mailing list