backport unwind fixes to 3.3

Nicholas Wourms nwourms@myrealbox.com
Fri Jun 6 18:42:00 GMT 2003


Richard Henderson wrote:
> This is a backport of your mainline EH cleanups to 3.3.
> Can you give this a try on s390?  The change in how the
> stack pointer is handled is rather desirable for various
> odd-ball cases like signal trampoline unwind info.
> 
[SNIP]
> Index: config/s390/s390.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.h,v
> retrieving revision 1.53.2.6
> diff -c -p -d -r1.53.2.6 s390.h
> *** config/s390/s390.h	29 Apr 2003 14:31:53 -0000	1.53.2.6
> --- config/s390/s390.h	6 Jun 2003 08:44:21 -0000
> *************** extern int current_function_outgoing_arg
> *** 510,516 ****
>   
>   /* Describe how we implement __builtin_eh_return.  */
>   #define EH_RETURN_DATA_REGNO(N) ((N) < 4 ? (N) + 6 : INVALID_REGNUM)
> - #define EH_RETURN_STACKADJ_RTX  gen_rtx_REG (Pmode, 10)
>   #define EH_RETURN_HANDLER_RTX \
>     gen_rtx_MEM (Pmode, plus_constant (arg_pointer_rtx, \
>                                        TARGET_64BIT? -48 : -40))
> --- 510,515 ----
 >
   ^^^^^^^^^^^^^^^^

Is it just me or did this patch get truncated?  I've checked the 
archives and GMANE, both are cut off at the same place.

Cheers,
Nicholas



More information about the Gcc-patches mailing list