This is the mail archive of the gcc-bugs@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]

Re: Restoration of arg pointer in expand_builtin_setjmp_receiver


On Thu, Aug 23, 2001 at 11:54:39PM -0400, John David Anglin wrote:
> > Try this.
> > 
> > 	* function.c (expand_function_end): Don't init arg_pointer_save_area.
> > 	(get_arg_pointer_save_area): New.  Create an init it here.
> > 	(fix_lexical_addr): Use it.
> > 	* function.h: Declare it.
> > 	* builtins.c (expand_builtin_setjmp_receiver): Use it.
> > 	* stmt.c (expand_nl_goto_receiver): Use it.
> 
> Looks promising.  I did a quick check using a cross compiler and it now
> looks like the "arg pointer" is saved and restored properly.

I went ahead and checked this patch in.  We can adjust further later.


r~


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