[Issue 929] Resizing array of associative arrays (uint[char[]][]) causes infinite loop / hang

2008-12-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=929


arthur.loi...@gmail.com changed:

   What|Removed |Added

 CC||arthur.loi...@gmail.com




--- Comment #20 from arthur.loi...@gmail.com  2008-12-13 04:41 ---
Fixed in gdc SVN revision 244 as well, thanks!


-- 



[Issue 929] Resizing array of associative arrays (uint[char[]][]) causes infinite loop / hang

2008-12-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=929


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #19 from [EMAIL PROTECTED]  2008-12-02 12:36 ---
has been fixed in DMD 1.037 and 2.021


-- 



[Issue 929] Resizing array of associative arrays (uint[char[]][]) causes infinite loop / hang

2008-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=929


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #18 from [EMAIL PROTECTED]  2008-11-20 13:31 ---
>From issue 1898: allocating an array of AAs using new also hangs, as in

int[int][] maps;
maps = new int[int][3];

There's a workaround, calling .dup on a static array of AAs, but it requires
that the length be known at compile time.


-- 



[Issue 929] Resizing array of associative arrays (uint[char[]][]) causes infinite loop / hang

2008-11-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=929


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #17 from [EMAIL PROTECTED]  2008-11-20 13:28 ---
*** Bug 1898 has been marked as a duplicate of this bug. ***


-- 



[Issue 929] Resizing array of associative arrays (uint[char[]][]) causes infinite loop / hang

2008-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=929





--- Comment #16 from [EMAIL PROTECTED]  2008-11-14 21:55 ---
If Walter's looking for low-hanging fruit, it doesn't get much lower than this.
 A 5-line diff?  Why has this been open for almost 2 years, anyway?


-- 



[Issue 929] Resizing array of associative arrays (uint[char[]][]) causes infinite loop / hang

2008-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=929





--- Comment #15 from [EMAIL PROTECTED]  2008-10-21 12:40 ---
Just to make the patch more explicit: Adding

int TypeAArray::isZeroInit()
{
return 1;
}

to mtype.c and the matching prototype to mtype.h fixes it. Tested in LDC.


--