[Issue 14551] New: scope(failure) block causes bloat in nothrow functions
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed May 6 17:21:55 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14551
Issue ID: 14551
Summary: scope(failure) block causes bloat in nothrow functions
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: andrei at erdani.com
Consider the example shown in http://goo.gl/EY3o7p. There, simply adding an
empty scope(failure) block causes an increase in generated code. However, the
function is statically known to not throw so the entire scope(failure)
statement can be eliminated in the front-end.
--
More information about the Digitalmars-d-bugs
mailing list