RFC Patch: Fix bad eh_frame data for MIPS.

Jakub Jelinek jakub@redhat.com
Thu Sep 18 18:50:00 GMT 2003


On Thu, Sep 18, 2003 at 11:45:44AM -0700, David Daney wrote:
> Richard Henderson wrote:
> 
> >>Doing this will fail in the case of a leaf function where r31 is not 
> >>saved on the stack.
> >>    
> >>
> >
> >No it won't.  Have you tried it?  It works just fine on alpha and powerpc.
> >
> For me it fails both in practice and theory.
> 
> However that was before I read your comment below, to use a "pseudo 
> register" for the return address from MD_FALLBACK_FRAME_STATE_FOR.  So I 
> will now re-do it with a corrected MD_FALLBACK_FRAME_STATE_FOR and 
> report back.

Once you get MD_FALLBACK_FRAME_STATE_FOR working, don't forget to
add your target to dg-do run list in gcc.dg/cleanup-9.c.

	Jakub



More information about the Gcc-patches mailing list