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: Remove SETJMP_VIA_SAVE_AREA support


On Jun 2, 2011, at 3:41 AM, Eric Botcazou wrote:
> This removes the (undocumented) support for SETJMP_VIA_SAVE_AREA from the 
> compiler.

> 2011-06-02  Eric Botcazou  <ebotcazou@adacore.com>

> 	* builtins.c (expand_builtin_setjmp_setup): Do not set calls_setjmp.

> --- builtins.c	(revision 174559)
> +++ builtins.c	(working copy)
> @@ -806,10 +806,6 @@ expand_builtin_setjmp_setup (rtx buf_add
>      emit_insn (gen_builtin_setjmp_setup (buf_addr));
>  #endif
>  
> -  /* Tell optimize_save_area_alloca that extra work is going to
> -     need to go on during alloca.  */
> -  cfun->calls_setjmp = 1;
> -
>    /* We have a nonlocal label.   */
>    cfun->has_nonlocal_label = 1;
>  }

You do know that at least rtl hoisting is dependent upon calls_setjmp being set, right?  :-(

This part breaks my port.  I think you read the comment and thought it was exhaustive, I don't believe it is.

Any objection to putting it back, or, would you like me to drill down on rtl hoisting?


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