This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: how to use -fomit-frame-pointer by default


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


-----Message d'origine-----
De : Joseph Myers [mailto:joseph@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
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]