http://d.puremagic.com/issues/show_bug.cgi?id=8369
Summary: try/finally block and float division by zero Product: D Version: D2 Platform: x86_64 OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: lomerei...@gmail.com --- Comment #0 from Artem Tarasov <lomerei...@gmail.com> 2012-07-10 10:23:29 PDT --- The following code segfaults when I run it with "rdmd bug.d 0": import std.stdio, std.conv; float a, b = 0.0; void main(string[] args) { try { a = to!float(args[1]); } finally { writeln(a / b); } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------