delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/26/20:01:31

From: Sampo Niskanen <sampo AT lizard DOT compart DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Why only -O2?
Date: 26 Jan 1998 18:11:18 GMT
Organization: Xgateway Finland Ltd. - news.xgw.fi server
Lines: 12
Message-ID: <6aijk6$4g6@news.xgw.fi>
NNTP-Posting-Host: lizard.compart.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Why do so many programs which come in sources on default use the option
-O2 in their makefiles? Shouldn't -O3 optimize even more?

Also, what optimization level does -O use? Are lower optimization levels
better for debugging, if so, what would be best?

-- 
  __________________________________________________
 /____\    Sampo Niskanen <=> sampo AT compart DOT fi      \
       \         http://www.compart.fi/~sampo        \
        \     ________________________________________\___
         \___/___________________________________________/

- Raw text -


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