www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/05/06:28:12

Date: Mon, 5 Feb 1996 13:17:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: GCC 2.7.2

On Sun, 4 Feb 1996, Charles Sandmann wrote:

> Actually, -O3 inlines everything in sight, including static routines (and
> even non-static ones in the same module).  So the executable may get much 
> larger in size.  Unless you use lots of tiny routines, I prefer -O2.

My experience is that -O3 almost never makes things better, except, 
maybe, when compiling a well-modularized library.

When in doubt, I usually make it both ways and time the results.

- Raw text -


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