On Saturday, 18 July 2015 at 10:06:07 UTC, Tamas wrote:
Compile & execute: $ dmd positive0.d; ./positive0; echo $? $ ldc2 positive0.d; ./positive0; echo $?
Try adding the automatic optimize flags in all your cases. For dmd, `-O -inline`. Not sure about ldc but I think it is `-O` as well.