1 |
On Mon, 11 Jul 2016 19:23:24 -0600, "J." García wrote: |
2 |
|
3 |
> El lun, 11-07-2016 a las 20:47 -0400, waltdnes@××××××××.org escribió: |
4 |
>> On Tue, Jul 12, 2016 at 01:48:37AM +0200, Volker Armin Hemmann wrote |
5 |
>> |
6 |
>> > so it is not turned on on x86. Not sure about amd64. IIRC it is |
7 |
>> > default |
8 |
>> > on amd64, but I am not sure and too lazy to google. Just like the |
9 |
>> > thread |
10 |
>> > starter. |
11 |
>> |
12 |
>> Actually, I did Google. So did another particpant in the Pale Moon |
13 |
>> forum. We got different answers, and various other people chimed in. |
14 |
>> That's why I posted here. BTW, "gcc -O2 -Q --help=optimizers" |
15 |
>> returns |
16 |
>> |
17 |
>> -fomit-frame-pointer [disabled] |
18 |
>> |
19 |
>> ...in both my real 64-bit Gentoo install and my 32-bit VM Gentoo. |
20 |
>> |
21 |
> I made a mistake, I didn't ran the 'gcc -Q .." command correctly, a |
22 |
> typo, so I didn't really checked just got the list of optimizers, but |
23 |
> checking again I also have it disabled by default: |
24 |
> |
25 |
> $ gcc -c -march=core2 -O2 -Q --help=optimizers |\ |
26 |
> grep fomit-frame-pointer |
27 |
> -fomit-frame-pointer [disabled] |
28 |
|
29 |
No, gcc is just lying. See this reddit comment thread for details: |
30 |
https://www.reddit.com/r/Cprog/comments/2iv09b/frame_pointer_omission_fpo_optimization_and/ |
31 |
|
32 |
Running the 'gcc -v' snippet shows that -fomit-frame-pointer is indeed |
33 |
enabled by default on amd64. |
34 |
|
35 |
-h |