www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/11/09/15:24:56

Date: 09 Nov 1992 14:39:06 -0400 (EDT)
From: Eric Ho <9041477 AT SSCvax DOT CIS DOT McMaster DOT CA>
Subject: Re: exceptioon 6
To: dj AT athena DOT ctron DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

>> (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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019