[PATCH] Make EH_RETURN_STACKADJ_RTX optional (fixes s390)

Ulrich Weigand weigand@immd1.informatik.uni-erlangen.de
Mon May 12 18:28:00 GMT 2003


Richard Sandiford wrote:

> As far as I can tell, the problem is with this hunk:
[snip]
> since outer_cfa is a 'void *' pointer rather than an _Unwind_Word.

Oops.  I sort of assumed they'd always be the same size, but
that's apparently not the case.

> The patch below seems to fix the cases I've tried.  Running a full
> bootstrap now.  But I'm not sure whether (_Unwind_Ptr) is the right
> cast to use.

Well, that's exactly how it's done in uw_update_context_1,
so that should work (if it worked before my patch) ... 

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Gcc-patches mailing list