The Phobos unit tests are run in both release and non-release modes. However, for whatever reason, the druntime unit tests are only run in release mode. Not only does this make it so that we're not going to catch problems that only show up in non-release mode, but stuff like range violations don't get caught in @system code, and several unit tests currently fail if you remove the -release flag from the build. So, those need to be fixed regardless, but we really should make it so that druntime gets built and tested with both release and non-release modes like Phobos does so that bugs like this are caught.
Comment #1 by issues.dlang — 2015-07-09T03:47:22Z
*** This issue has been marked as a duplicate of issue 11414 ***