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


In article <199809210612.CAA04693.cygnus.egcs.patches@jwlab.FEITH.COM> you wrote:
: This change allows gcc to omit the frame pointer when optimizing
: leaf functions which don't call alloca.  Are the situations where
: having a frame pointer in a leaf function is a win (assuming that
: the machine description doesn't require it)?

Yes.  Without a fame pointer, debugging is usually impossible.
On those targets where it is possible, you can set CAN_DEBUG_WITHOUT_FP and
gcc will default to -fomit-frame-pointer when optimizing.


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