This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to omit the frame pointer from leaf functions (version 3)
- To: egcs-patches at cygnus dot com
- Subject: Re: patch to omit the frame pointer from leaf functions (version 3)
- From: John Wehle <john at feith dot com>
- Date: Wed, 2 Dec 1998 19:23:05 -0500 (EST)
- Cc: law at cygnus dot com
Just curious about the status of the below patch:
-- John
> This patch follows Intel's recommendation of omitting the frame
> pointer when optimizing functions where the stack is unchanging.
>
> Notes:
>
> 1) An earlier version of gdb-4.17-PatchJLW01 has been submitted to the
> gdb maintainers. It is included here only as a convenience.
>
> ChangeLog:
>
> Tue Nov 3 23:01:34 EST 1998 John Wehle (john@feith.com)
>
> * i386.h (MASK_OMIT_LEAF_FRAME_POINTER): Use octal for consistency.
> (TARGET_SWITCHES): Omit leaf frame pointer by default.
> (FRAME_POINTER_REQUIRED): Use current_function_sp_is_unchanging
> instead of leaf_function_p.
> * i386.c (override_options): Have flag_omit_frame_pointer
> override TARGET_OMIT_LEAF_FRAME_POINTER.
> * gdb-4.17-PatchJLW01: New file containing gdb support for
> debugging i386 code where the frame pointer is omitted.
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------