long compile time 2.023 (few lines of code)

Saaa empty at needmail.com
Fri Jan 23 12:08:47 PST 2009


:) forgot to test it outside main.
Placing the struct inside main doesn't result to a problem.
<=915_045 no problem
>=915_046 problems

> Slightly reduced test case that reproduces the same problem:
>
> module bug;
>
> struct Struct
> {
> uint number;
> int[6] array;
> byte[9] array2;
> }
> Struct structs[1_000_000];
>
> void main() {}
>
> FWIW, it gives me the following error message when compiled with D1.029 
> (might help to debug):
>
> Unexpected OPTLINK Termination at EIP=0040E0DE
> EAX=00DC0000 (changes)
> EBX=00431D10
> ECX=00000A90
> EDX=000008C2
> ESI=845511F5
> EDI=00DC15C0 (changes)
> EBP=0012FFF0
> ESP=0012FF58
> First=00402000
>
> D1.032+ just hang.
>
> Worth putting into bugzilla, I think. 




More information about the Digitalmars-d-learn mailing list