[Issue 5455] ICE(cgcod.c): Optimization (register allocation?) regression in DMD 1.065
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 18 12:46:11 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5455
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2011-01-18 12:44:11 PST ---
I think there's something wrong in cgcod.c, allocreg(). Might be good to have
an assert on line 1920:
r &= mLSW; /* see if there's an LSW also
*/
if (r)
lsreg = findreg(r);
else if (lsreg == -1) /* if don't have LSW yet */
{ retregs &= mLSW;
+ assert(retregs);
goto L3;
}
}
This fails. What happens is, we've found a register for the MSW. But we got
called with no available LSW registers!
--
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