www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/30/06:25:34

Date: Sun, 30 Nov 1997 13:23:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: baldo AT chasque DOT apc DOT org
cc: djgpp AT delorie DOT com
Subject: Re: BinUtils 2.8.1 speed.
In-Reply-To: <3.0.1.32.19971128012725.00690fbc@chasque.apc.org>
Message-ID: <Pine.SUN.3.91.971130132101.5422O-100000@is>
MIME-Version: 1.0

On Fri, 28 Nov 1997 baldo AT chasque DOT apc DOT org wrote:

> Does not -fomit-frame-pointer supposed to produce better code?

You use -O3 that bloats the code by inlining functions.  The bloat might 
be such that it overshadows any gains from the extra register that 
-fomit-fram-pointer gets.

But that's speculation.  You need to look at the code produced by GCC to 
understand the reason.  In general, I find -O3 a bad idea.

- Raw text -


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