This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
document i386 -momit-leaf-frame-pointer
- To: gcc-patches at gcc dot gnu dot org
- Subject: document i386 -momit-leaf-frame-pointer
- From: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>
- Date: Wed, 14 Mar 2001 02:03:41 -0800
It seems there's no documentation for this flag.
Please apply this if you think it's good enough.
BTW shouldn't -momit-leaf-frame-pointer be enabled by default for -O2
(or -O3 or -O1) ?
2001-03-14 Dan Nicolaescu <dann@ics.uci.edu>
* invoke.texi (Option Summary): Add -momit-leaf-frame-pointer.
* invoke.texi (i386 Options): Document it.
*** invoke.texi-old Wed Mar 14 01:25:40 2001
--- invoke.texi Wed Mar 14 01:56:01 2001
*************** in the following sections.
*** 464,470 ****
-malign-functions=@var{num} -mpreferred-stack-boundary=@var{num} @gol
-mthreads -mno-align-stringops -minline-all-stringops @gol
-mpush-args -maccumulate-outgoing-args -m128bit-long-double @gol
! -m96bit-long-double -mregparm=@var{num}}
@emph{HPPA Options}
@gccoptlist{
--- 464,470 ----
-malign-functions=@var{num} -mpreferred-stack-boundary=@var{num} @gol
-mthreads -mno-align-stringops -minline-all-stringops @gol
-mpush-args -maccumulate-outgoing-args -m128bit-long-double @gol
! -m96bit-long-double -mregparm=@var{num} -momit-leaf-frame-pointer}
@emph{HPPA Options}
@gccoptlist{
*************** Control how many registers are used to p
*** 6694,6699 ****
--- 6694,6704 ----
default, no registers are used to pass arguments, and at most 3
registers can be used. You can control this behavior for a specific
function by using the function attribute @samp{regparm}.
+
+ @item -momit-leaf-frame-pointer
+ Omit the frame pointer in leaf functions.
+ See also @samp{-fomit-frame-pointer}.
+
@xref{Function Attributes}.
@strong{Warning:} if you use this switch, and