Gentoo Archives: gentoo-user

From: "J." <jyo.garcia@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?
Date: Tue, 12 Jul 2016 01:23:49
Message-Id: 1468286604.3153.15.camel@gmail.com
In Reply to: Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default? by waltdnes@waltdnes.org
1 El lun, 11-07-2016 a las 20:47 -0400, waltdnes@××××××××.org escribió:
2 > On Tue, Jul 12, 2016 at 01:48:37AM +0200, Volker Armin Hemmann wrote
3 >
4 > > so it is not turned on on x86. Not sure about amd64. IIRC it is
5 > > default
6 > > on amd64, but I am not sure and too lazy to google. Just like the
7 > > thread
8 > > starter.
9 >
10 >   Actually, I did Google.  So did another particpant in the Pale Moon
11 > forum.  We got different answers, and various other people chimed in.
12 > That's why I posted here.  BTW, "gcc -O2 -Q --help=optimizers"
13 > returns
14 >
15 >   -fomit-frame-pointer                  [disabled]
16 >
17 > ...in both my real 64-bit Gentoo install and my 32-bit VM Gentoo.
18 >
19 I made a mistake, I didn't ran the 'gcc -Q .." command correctly, a
20 typo, so I didn't really checked just got the list of optimizers, but
21 checking again I also have it disabled by default:
22
23 $ gcc -c   -march=core2 -O2 -Q --help=optimizers  |\
24 grep fomit-frame-pointer
25   -fomit-frame-pointer         [disabled]

Replies

Subject Author
[gentoo-user] Re: Is "-fomit-frame-pointer" a gcc default? "Holger Hoffstätte" <holger@××××××××××××××××××.com>