Thread overview |
---|
October 20, 2007 [Issue 1602] New: dmd freezes on array literal | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1602 Summary: dmd freezes on array literal Product: D Version: 2.006 Platform: PC OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: spam@extrawurst.org the following code freezes dmd infinitely [CODE] int[][] pins; void main() { pins = [[],[1],[]]; //pins = [[],[],[]]; //this also freezes dmd endlessly } [/CODE] -- |
October 23, 2007 Re: [Issue 1602] New: dmd freezes on array literal | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | For what it's worth, the following works on GDC
>
> int[][] pins;
>
> void main()
> {
> pins = [cast(int[])[], [1], []];
> pins = [[],[],[]]; //this also freezes dmd endlessly
> }
>
So it's definitely DMD-specific.
--downs
|
December 06, 2007 [Issue 1602] dmd freezes on array literal | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1602 spam@extrawurst.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code ------- Comment #2 from spam@extrawurst.org 2007-12-06 04:53 ------- to clear things more up: [CODE] int[][] pins; void main() { pins = [[],[1],[]]; // invalid: gives an error but also crashes dmd pins = [[],[],[]]; // valid afaik but crashes dmd too //endlessly loops dmd } [/CODE] -- |
August 10, 2008 [Issue 1602] dmd freezes on array literal | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1602 spam@extrawurst.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from spam@extrawurst.org 2008-08-10 06:28 ------- i dunno when, but it is at least fixed in 2.018 -- |
Copyright © 1999-2021 by the D Language Foundation