PATCH: sjlj exceptions

John David Anglin dave@hiauly1.hia.nrc.ca
Fri Oct 27 19:32:00 GMT 2000


> > The second part is to set current_function_calls_setjmp = 1.  This causes
> > the gcse pass to punt, preventing the memory buildup.  I think it is also
> > necessary to ensure that registers are properly saved.
> 
> This should only be done for DONT_USE_BUILTIN_SETJMP, and it
> is only needed if the target defines NON_SAVING_SETJMP.  I.e.
> it is a problem, but not for pa.

The function expand_builtin_setjmp does SAVE_NONLOCAL.  If the system
defines NON_SAVING_SETJMP, then possibly its action should match that
of the system setjmp.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Gcc-patches mailing list