1 |
maxim wexler wrote: |
2 |
|
3 |
>>CFLAGS="-O2 -march=pentium3 -pipe -mcpu=i686 |
4 |
>>-fomit-frame-pointer" |
5 |
>>CXXFLAGS="${CFLAGS}" |
6 |
>> |
7 |
>> |
8 |
> |
9 |
>there seems to be some controversy over the use of |
10 |
>-fomit-frame-pointer. See the gentoo/doc, |
11 |
> IIRC on USE flags. Just what does -fomit etc do? |
12 |
> |
13 |
> |
14 |
|
15 |
The "frame pointer" points to the variables used in a "frame" (read: |
16 |
function). It is useful to have a pointer to these for debugging, but |
17 |
not for much else. fomit-frame-pointer can (on some platforms) allow |
18 |
gcc to re-use that register for the function, and maybe improve performance. |
19 |
|
20 |
There should not be any controversy over it. According to the GCC |
21 |
documentation, it is automatically enabled at all optimization levels. |
22 |
|
23 |
-Richard |
24 |
|
25 |
-- |
26 |
gentoo-user@g.o mailing list |