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: [tree-ssa] Bootstrap failure on i686-linux


On Mon, Sep 01, 2003 at 09:20:40PM -0700, Andrew Pinski wrote:
> The specific part that is causing the problems both on the mainline and 
> the tree-ssa

No, it isn't.  The immediate problem on tree-ssa is me failing to 
resolve conflicts properly when patching the branch.

You never did send me the preprocessed file for mainline?


r~


	* c-decl.c (finish_function): Fix misapplied patch.  Don't
	free_after_parsing or free_after_compilation.  For real this time.

Index: c-decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-decl.c,v
retrieving revision 1.334.2.59
diff -c -p -d -r1.334.2.59 c-decl.c
*** c-decl.c	31 Aug 2003 16:55:07 -0000	1.334.2.59
--- c-decl.c	2 Sep 2003 18:25:29 -0000
*************** finish_function (int nested, int can_def
*** 6157,6167 ****
    if (!flag_disable_gimple)
      c_genericize (fndecl);
  
!   /* Clear out memory we no longer need.  */
!   free_after_parsing (cfun);
!   /* Since we never call rest_of_compilation, we never clear
!      CFUN.  Do so explicitly.  */
!   free_after_compilation (cfun);
    cfun = NULL;
  
    if (flag_unit_at_a_time && can_defer_p)
--- 6157,6164 ----
    if (!flag_disable_gimple)
      c_genericize (fndecl);
  
!   /* We're leaving the context of this function, so zap cfun.  It's still in
!      DECL_SAVED_INSNS, and we'll restore it in tree_rest_of_compilation.  */
    cfun = NULL;
  
    if (flag_unit_at_a_time && can_defer_p)


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