[Bug 207] _d_throw is not treated as `noreturn`.
via D.gnu
d.gnu at puremagic.com
Sat Jan 9 02:44:43 PST 2016
http://bugzilla.gdcproject.org/show_bug.cgi?id=207
--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject.org> ---
As for assert(0) in non-release code, it is still possible to catch it, so
there's not much in the way of optimising around that. :-)
I can have a look, but as far as I recall, gcc optimizer should treat it as
noreturn. Whether or not noreturn implies that everything in scope afterwards
is unreachable depends the optimizer too.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20160109/a23ff4da/attachment.html>
More information about the D.gnu
mailing list