December 25, 2004 Internal error: ..\ztc\cgcod.c 1640 | ||||
---|---|---|---|---|
| ||||
(dmd .109, winxpsp2en) Only takes place when compiling with -O // ------------------------------------ // tmp.d // ------------------------------------ struct foo { int x, y, z; } void bar() {} void main() { foo[] arr; foreach(foo a; arr) { bar(); } } // ------------------------------------ If the struct foo has 1, 2 or 4 'int' members, the error doesn't occur Output : parse tmp semantic tmp semantic2 tmp semantic3 tmp code tmp generating code for function 'bar' generating code for function 'main' Internal error: ..\ztc\cgcod.c 1640 |
December 26, 2004 Re: Internal error: ..\ztc\cgcod.c 1640 | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic Attachments: | Added to DStress as http://dstress.kuehne.cn/run/bug_cgcod_1640_A.d http://dstress.kuehne.cn/run/bug_cgcod_1640_B.d http://dstress.kuehne.cn/run/bug_cgcod_1640_C.d http://dstress.kuehne.cn/run/bug_cgcod_1640_D.d http://dstress.kuehne.cn/run/bug_cgcod_1640_E.d http://dstress.kuehne.cn/run/bug_cgcod_1640_F.d http://dstress.kuehne.cn/run/bug_cgcod_1640_G.d Thomas |
Copyright © 1999-2021 by the D Language Foundation