Date: Fri, 9 Jan 1998 16:21:41 -0800 (PST) Message-Id: <199801100021.QAA00897@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: tiberius AT mailhost DOT net, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Weird problem Precedence: bulk At 07:17 1/9/1998 +1000, Richard Nichols wrote: >How come when I compile my program with -O or -O2 ir -O3 >it crashes with a GPF but when I just turn on the optimizations >manually it works fine? Is there something undocumented? Is it >to do with the way I interface NASM functions? help! It's almost definitely a bug in your code (unless you are using GCC 2.7.2 which had a bug in strength reduction). Try to find it. I have no idea whether it has anything to do with how you interface to NASM because I don't know how you do it. (hint, hint) Post some examples if you can't find the problem. Nate Eldredge eldredge AT ap DOT net