This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.3 Prelease broken on s390
- From: Richard Henderson <rth at redhat dot com>
- To: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- Cc: mark at codesourcery dot com, gcc at gcc dot gnu dot org
- Date: Tue, 6 May 2003 18:25:08 -0700
- Subject: Re: GCC 3.3 Prelease broken on s390
- References: <200305070113.DAA15839@faui11.informatik.uni-erlangen.de>
On Wed, May 07, 2003 at 03:13:39AM +0200, Ulrich Weigand wrote:
> ... which is completely ignored on s390 anyway (as SP is
> restored from its stack slot, where the correct new
> value was already stored by uw_install_context_1).
Ah, now I get it. This was the piece I couldn't understand.
And if *this* is the case, it means that it doesn't matter
where you place the CFA relative to the stack frame, just so
long as the stack pointer itself is computed properly.
> What do you think?
>
> * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
> previous frame didn't save sp. Clear sp for next frame.
> (uw_install_context_1): Honor saved sp from frame.
If this works, great.
r~