On Monday, 6 April 2015 at 06:25:14 UTC, Brad Anderson wrote:
You made that change back in 2009. https://issues.dlang.org/show_bug.cgi?id=3407

-release used to turn off all bounds checking. Andrei wanted it to stay in safe code at least so you added -noboundscheck to appease those that wanted it off even in safe code then you made it do bounds checking by default in safe code even if -release was specified. There was never an option to turn on bounds checking for all code in release mode (not until -boundscheck=on was added). Whenever we'd discuss -noboundcheck on the forums you'd have 5 people with 5 different ideas about what that option did. It was very confusing.

IIRC about a year ago, when the new option was introduced, -release was changed to keep bounds checking everywhere... ok, looks like it was Andrei's belief, which never made it into the source :)

Reply via email to