This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make EH_RETURN_STACKADJ_RTX optional (fixes s390)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]