Thread overview
[Issue 14308] Compiling druntime with -release breaks range exceptions
Mar 19, 2015
Ketmar Dark
Mar 19, 2015
Ketmar Dark
Mar 19, 2015
Temtaime
Mar 19, 2015
Temtaime
Mar 19, 2015
Ketmar Dark
Dec 17, 2022
Iain Buclaw
March 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14308

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ketmar@ketmar.no-ip.org
         Resolution|---                         |INVALID

--- Comment #1 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
this is the expected result: "-release" flag turns off bounds checking. it was designed to do so. using "-release" means "i fully debugged my code and i'm sure that there either no out-of-bounds errors, or i'm checking that manually".

so i'm closing the bug as invalid.

--
March 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14308

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
oooops. sorry. today is not a my day.

--
March 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14308

--- Comment #3 from Temtaime <temtaime@gmail.com> ---
It's OK, but bounds checks are in my app compiled with different flags, not in
druntime.
Also if i compile it with -noboundscheck and without -release, all is working!

--
March 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14308

--- Comment #4 from Temtaime <temtaime@gmail.com> ---
*it, i mean druntime

--
March 19, 2015
https://issues.dlang.org/show_bug.cgi?id=14308

--- Comment #5 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
yes, sorry, i misread your report.

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=14308

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |D2

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=14308

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 07
https://issues.dlang.org/show_bug.cgi?id=14308

--- Comment #6 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17294

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--