[Issue 3049] ICE(cod4.c) or segfault: Array operation on void[] array

2014-04-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3049

Walter Bright  changed:

   What|Removed |Added

Version|1.045   |D1

--


[Issue 3049] ICE(cod4.c) or segfault: Array operation on void[] array

2009-10-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3049


Walter Bright  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #2 from Walter Bright  2009-10-06 
02:16:33 PDT ---
Fixed dmd 1.048 and 2.033

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3049] ICE(cod4.c) or segfault: Array operation on void[] array

2009-06-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3049





--- Comment #1 from Don   2009-06-10 17:31:43 PDT ---
There was a bug in the patch I posted, it assumed that Type::terror is a unique
type whereas it is currently the same as Tint32.
Fortunately, that line was not necessary anyway (it would just result in nicer
error messages).

PATCH: Add this code to the start of
BinExp::arrayOp(Scope *) in arrayop.c.
---
if (type->toBasetype()->nextOf()->toBasetype()->ty==Tvoid) {
error("Cannot perform array operations on void[] arrays");
return this;
}
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---