Date: Tue, 4 Mar 1997 13:26:25 +0200 (IST) From: Eli Zaretskii To: Paul Derbyshire cc: djgpp AT delorie DOT com Subject: Re: AVOID -fforce-addr In-Reply-To: <199703040406.XAA17829@freenet3.carleton.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 3 Mar 1997, Paul Derbyshire wrote: > Well, the source is quite lengthy. About sixty K, 5000 lines. In fact I > have just begun breaking it into smaller .c modules. If the source is large, chances are cc1.exe is overflowing its runtime stack when optimizing (FAQ, section 6.3). Try stubediting it to enlarge the stack to, say, 1MB, and see if that helps. > The command line was: > > gcc -g -O3 -m486 -fforce-addr -fomit-frame-pointer -Wall -o mquest.o > -c mquest.c > > Maybe there's some subtlety of GCC that makes two of those switches > incompatible...? Does the problem go away when you omit one of the other switches? Anyway, this precise command worked for me on a small test program, so the options per se aren't the problem.