February 05, 2009 [Issue 2645] New: dmd 0.23 crashes on this (wrong) code | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2645 Summary: dmd 0.23 crashes on this (wrong) code Product: D Version: 2.023 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: ace17@free.fr // The following code causes a segmentation fault. import std.stdio; import std.string; struct S { int a, b; } invariant S[4] tab; void f() { int i= 0; writefln(tab[i]); } -- |
May 06, 2009 [Issue 2645] dmd 2.023 crashes on this (wrong) code | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2645 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #1 from clugdbug@yahoo.com.au 2009-05-06 08:22 ------- Works for me in D2.029. (After changing writefln->writeln(tab[i]);, or to writefln("%s", tab[i]); ) I suspect this is a duplicate of the segfault bugs fixed in 2.028/2.029. -- |
Copyright © 1999-2021 by the D Language Foundation