[Issue 5455] ICE(cgcod.c): Optimization (register allocation?) regression in DMD 1.065
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 17 11:46:28 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5455
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2011-01-17 11:44:32 PST ---
This is amazing. I have never before seen such an irreducible test case.
Here's the best I've been able to do.
-----
void thrw(Data *s) {
throw new Exception("xxx");
}
struct Data {
Rapper *w;
uint n, m;
}
struct Rapper {
ubyte * dat;
ubyte[] con() {
return dat[0..1];
}
}
uint jaz(ubyte[] data) {
return data.length;
}
struct Resp {
void set(Data *data, string[] soup) {
switch(soup[0]) {
default:
}
uint[] f = [jaz(data.w ? data.w.con[data.n ..data.m] : null), data.m -
data.n];
thrw(data);
}
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list