This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Bootstrap failure on i686-linux
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Diego Novillo <dnovillo at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 2 Sep 2003 11:26:59 -0700
- Subject: Re: [tree-ssa] Bootstrap failure on i686-linux
- References: <1062466928.6332.27.camel@frodo.toronto.redhat.com> <CFD18463-DCFC-11D7-811A-000393A6D2F2@physics.uc.edu>
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)