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]

Re: patch to omit the frame pointer from leaf functions (version 3)


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  |                         |
-------------------------------------------------------------------------



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