On Sunday, 14 February 2016 at 17:31:37 UTC, artemalive wrote:
From ldc output:
"-release - Disables asserts, invariants, contracts and boundscheck".


We (LDC team) should clarify this description. In D2, -release does not disable bounds-checking for @safe code anymore.

-singleobj really does the magic. I'll commit only this option. Thanks for the suggestion and for the pull request. It's my first pull request;)

I'm not convinced that it makes for a good comparison to use different optimization settings for one of the compilers…

 — David

Reply via email to