From a766cc18e0699dc66488f707a0efffecb237d5a3 Mon Sep 17 00:00:00 2001 From: aj Date: Sun, 6 May 2001 17:10:53 +0000 Subject: [PATCH] * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer (i386 Options): Document -momit-leaf-frame-pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41881 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 11 ++++++++--- gcc/invoke.texi | 10 +++++++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d65f15..98450e4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-06 Andreas Jaeger + + * invoke.texi (Option Summary): Add -momit-leaf-frame-pointer + (i386 Options): Document -momit-leaf-frame-pointer. + 2001-05-06 Neil Booth * c-typeck.c (internal_build_compound_expr): Check for @@ -74,7 +79,7 @@ (L_regs_d3_4): New for _.d3 and _.d4. (L_regs_d5_6): Likewise. (L_regs_d1_2): Likewise. - * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts. + * config/m68hc11/t-m68hc11-gas (T_CPPFLAGS): Compile new parts. 2001-05-04 Stephane Carrez @@ -87,7 +92,7 @@ * config/m68hc11/larith.asm (divmodhi4): Empty for 68HC12. (__mulsi3): Rewrite for 68HC12. * config/m68hc11/m68hc11.md (divmodhi4): Use idivs for 68HC12. - Mark 'x' constraint with earlyclobber to prevent a + Mark 'x' constraint with earlyclobber to prevent a RELOAD_FOR_OTHER_ADDRESS to go in it. (mulhi3_m68hc12): New pattern. (mulhi3_m68hc11): Rename of mulhi3. @@ -144,7 +149,7 @@ `bool' parameter to `int'. * hash.c (hash_lookup): Likewise. - + * hash.h (hash_lookup): Likewise. * tlink.c (symbol_hash_lookup, demangled_hash_lookup): Likewise. diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 307b03b..c496458 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -473,7 +473,7 @@ in the following sections. -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}} +-m96bit-long-double -mregparm=@var{num} -momit-leaf-frame-pointer} @emph{HPPA Options} @gccoptlist{ @@ -6924,6 +6924,14 @@ By default GCC inlines string operations only when destination is known to be aligned at least to 4 byte boundary. This enables more inlining, increase code size, but may improve performance of code that depends on fast memcpy, strlen and memset for short lengths. + +@item -momit-leaf-frame-pointer +@kindex -momit-leaf-frame-pointer +Don't keep the frame pointer in a register for leaf functions. This +avoids the instructions to save, set up and restore frame pointers and +makes an extra register available in leaf functions. The option +@samp{-fomit-frame-pointer} removes the frame pointer for all functions +which might make debugging harder. @end table @node HPPA Options -- 2.7.4