The bug_cgcod_562_x1 cases have been fixed, but the bug_cgcod_562_x3 cases remain. This bug accounts for 20% of the remaining Dstress cases which ICE.
Much simpler test case:
void main(){
int x;
x/= cast(creal)1;
}
Internal error: ..\ztc\cgcod.c 564
Applies to DMD2.028 as well.
Comment #4 by clugdbug — 2009-06-09T16:41:07Z
The patch for bug 3059 fixes this.
Comment #5 by clugdbug — 2009-07-21T07:14:26Z
In fact this bug is now 66% of the remaining dstress cases which ICE, and also 10% of the remaining dstress "unexpected pass" errors...
Of course, it's pretty ridiculous that Thomas put in 36 test cases for this one bug.