delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/09/19:23:39

Date: Fri, 9 Jan 1998 16:21:41 -0800 (PST)
Message-Id: <199801100021.QAA00897@adit.ap.net>
Mime-Version: 1.0
To: tiberius AT mailhost DOT net, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Weird problem

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



- Raw text -


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