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, Ada, Darwin] Restore PowerPC Darwin Ada bootstrap (after a looong time, it seems).


> That's a good question, and one that I haven't got to the bottom of -
> but the exclusion was there in the original code-base [still in the
> vendor's tree too].
> (also, the rs6000 pro/epilogue code is not the easiest to navigate).

Assuming that this is because the non-local goto handler needs to find a 
register saved at a canonical place, you can try !cfun->has_nonlocal_label.

This will subsume the original check !(cfun->calls_setjmp && flag_exceptions)
as both the regular SJLJ scheme and the GNAT SJLJ scheme use it.

> Yes, I have a different version for 4.6 with the recently deleted
> entries still intact (and, of course, it has been tested).

OK.

-- 
Eric Botcazou


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