This is the mail archive of the gcc-patches@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]

document i386 -momit-leaf-frame-pointer


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


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