Thx that's what I was looking for :) I forgot the new gcc/common/config part ...


-----Message d'origine-----
De : Joseph Myers [mailto:jos...@codesourcery.com] 
Envoyé : mercredi 20 novembre 2013 17:41
À : BELBACHIR Selim
Cc : gcc@gcc.gnu.org
Objet : Re: how to use -fomit-frame-pointer by default

On Tue, 19 Nov 2013, BELBACHIR Selim wrote:

> I'm migrating my private port from gcc 4.5.2 to gcc 4.7.3. I noticed 
> that -fomit-frame-pointer was not triggered when using -O1 -O2 or -O3.
> Could you indicate me how to modify my port to use 
> -fomit-frame-pointer by default (as it was in gcc 4.5.2 I presume) ?

This is now handled through the TARGET_OPTION_OPTIMIZATION_TABLE hook (in 
gcc/common/config).

--
Joseph S. Myers
jos...@codesourcery.com

Reply via email to