Fix PR debug/24444: incorrect frame base in IA64 prologues

Alexandre Oliva aoliva@redhat.com
Sat Feb 4 18:54:00 GMT 2006


On Feb  3, 2006, Richard Henderson <rth@redhat.com> wrote:

> It looks ok to me.  Be prepared to help the arm folk if 
> they report problems.

As it turned out, testing revealed that stack unwinding was thoroughly
broken, because of the fix to the definition of the CFA location from
past the red zone to the literal SP value.  This broke unwind-ia64.c's
uw_init_context_1, that used to compensate for the incorrect CFA
value.  Since you'd confirmed in private that the CFA fix was correct,
I'll proceed to check in this patch without further approval, unless
retesting reveals any remaining regressions.

I include only the patch for mainline this time; the patch for the
branch is identical except for line number changes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ia64-frame-base-loclist.patch
Type: text/x-patch
Size: 20223 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060204/dbc794bd/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America        http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Gcc-patches mailing list