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]
Other format: [Raw text]

IA-64 backend patch for -fno-omit-frame-pointer bug


This patch fixes a bug introduced by the patch for PR 13158, which only
shows up when -fno-omit-frame-pointer is used.  This option is useless
for IA-64, but some people insist on using it, so we need to make it
work.  The problem here is that we assume there is no frame pointer if
the frame size is zero, but this isn't true when -fno-omit-frame-pointer
is used, so we need to check for that also.

Mark, I'd like to install this patch and the patch for PR 13158 on the
gcc-3.4 release branch.  Strictly speaking, this is not a regression,
but the IA-64 linux kernel maintainer has asked for it to be added, and
Debian and Red Hat have already added the PR 13158 patch to their
gcc-3.4 trees.  It makes sense to have it in our tree also.  The PR
13158 patch fixes a problem with unwind info for sibcall sequences, and
this patch makes it work with -fno-omit-frame-pointer.  These are
strictly a IA-64 backend patches that won't affect any other target.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

Attachment: patch.ia64.no-omit-frame-pointer
Description: Text document


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