ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/19/05:15:13

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Goh, Yong Kwang" <gohyongkwang AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Drawbacks with code optimization?
Date: Fri, 19 Apr 2002 16:38:08 +0800
Organization: Singapore Telecommunications Ltd
Lines: 22
Message-ID: <a9omu0$kgp$1@dahlia.singnet.com.sg>
NNTP-Posting-Host: tns03306.singnet.com.sg
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Any drawbacks with turning on optimization when generating a production copy
for distribution for usage?

Is there a possibility that the compiler may mis-interprete the original
program logic and rearrange the codes such that the program doesn't work as
expected with optimization turned on, even though the program source is
clearly OK?

How do we determine the level of optimization that is appropriate or
suitable for a program, apart from experimentation? -O1, -O2 or -O3?
Yong-Kwang Goh
gohyongkwang AT hotmail DOT com

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/02

- Raw text -

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