[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2021-11-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11461 moonlightsenti...@disroot.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2016-02-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11461 Richard Cattermole changed: What|Removed |Added CC||alphaglosi...@gmail.com --- Comment #18

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2016-02-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11461 naptime changed: What|Removed |Added CC||naptimeentertainment@gmail. |

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #16 from github-bugzi...@puremagic.com 2014-03-23 18:11:42 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/2a50ceabb436d150ee4e6bfff29

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 Rainer Schuetze changed: What|Removed |Added Keywords||pull --- Comment #15 from Rainer S

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2014-03-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #14 from Rainer Schuetze 2014-03-23 02:32:33 PDT --- I agree, it seems the better workaround. Clever compilers might notice that the passed parameter introduces no sideeffects and might infer strong purity, though. -- Configure

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2014-03-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #13 from monarchdo...@gmail.com 2014-03-22 14:59:11 PDT --- Maybe the problem can be worked around by making the function(s) *weakly* pure? (In reply to comment #11) > (In reply to comment #7) > > Commit pushed to master at > > h

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2014-03-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- C

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2014-03-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 Rainer Schuetze changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #11

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #10 from Temtaime 2013-11-15 12:33:55 PST --- Clear. Thanks very much for explanation. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #9 from monarchdo...@gmail.com 2013-11-15 11:53:06 PST --- (In reply to comment #8) > Hi, guys. > Maybe i'm too stupid, but how nothrow function can throw ? D defines both "Exception" and "Error", which derive from "Throwable". "E

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 Temtaime changed: What|Removed |Added CC||temta...@gmail.com --- Comment #8 from Te

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #7 from github-bugzi...@puremagic.com 2013-11-15 10:33:56 PST --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/0422e58d1bd6c86063f73b9ca372

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #6 from github-bugzi...@puremagic.com 2013-11-15 03:57:30 PST --- Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/e68e2459bd9a977338837a7e7840

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #5 from Martin Nowak 2013-11-15 01:35:56 PST --- (In reply to comment #3) > Interesting btw, such a function will either never or always throw an Error. The fix is fairly simple, we need a way to annotate noreturn functions. --

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com --- C

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #3 from Martin Nowak 2013-11-15 00:09:19 PST --- Interesting btw, such a function will either never or always throw an Error. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receivi

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 --- Comment #2 from Denis Shelomovskij 2013-11-15 09:26:02 MSK --- (In reply to comment #1) > Well, if a function has no side effect and does not produce a result or the > result isn't used, there is no point in calling it. It's pretty harsh

[Issue 11461] `Error`s are not thrown as `pure nothrow` functions are optimized out with "-O -release"

2013-11-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11461 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #1 from Mart