www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/28/11:42:55

Date: Mon, 28 Sep 1998 18:42:51 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "EFT.Eric Devolder" <eric DOT devolder AT eft DOT be>
cc: djgpp AT delorie DOT com
Subject: RE: Program goes wrong when optimized under gcc 2.8
In-Reply-To: <D1DE20405ECBD011B2AC0060974BC6EA04F925@DBSERVER>
Message-ID: <Pine.SUN.3.91.980928183700.1243B-100000@is>
MIME-Version: 1.0

On Mon, 28 Sep 1998, EFT.Eric Devolder wrote:

> I've made the change, but the problem still remain. I really don't know
> what is the problem.
> 
> If you want to have a run, just perform

Sorry, I don't have time right now to debug this for you.  I suggest that 
you compile it with both -O3 and -g and run the optimized version under a 
debugger.  

In fact, since GCC allows to use -g with optimizations, I recommend to 
always compile your programs with -g -O2/O3 and debug that version.  
Debugging a non-optimized version, then compiling with optimizations and 
releasing the software is like learning to swim in shallow water with the 
safety gear on, then throwing it away when diving into the sea.

- Raw text -


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