Mail Archives: djgpp/1992/11/09/15:24:56
>> (aside: what is the memory complexity of compilation, or is it
>>NP?)
>It depends on the complexity of the largest single function.
>Complexity is measured by loops, branches, and statements. -O nearly
>doubles the amount of memory used by compile.
My program has serval huge arrays (i.e., 500x500) and I got trap when
compiling this file. By the way, I did not set any of the optimaization
flags.
Then I broke the file into smaller files each contained one array
but I still could not get rid of it.
Moreover, sometimes the compilation got exeception 13, 14 or 6....
I executed cc1 using debug32 and I found the trap was caused by:
movzx ????,[eax] whereis eax=0xffffffff
Well, that's all I tell now..
Best regards,
Eric
- Raw text -