This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap comparison failure - cygwin and irix
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: Bootstrap comparison failure - cygwin and irix
- From: Andreas Tobler <toa at pop dot agri dot ch>
- Date: Mon, 24 Sep 2001 16:34:55 +0200
- CC: gcc-patches at gcc dot gnu dot org
- Organization: zero
- References: <10109241344.AA05811@vlsi1.ultra.nyu.edu>
- Reply-To: toa at pop dot agri dot ch
Ok, C bootstraped on darwin with the modification below.
Is this correct now?
Andreas
-- gcc/gcc/tree.c Fri Sep 21 03:26:52 2001
+++ gcc_old/gcc/tree.c Mon Sep 24 15:24:49 2001
@@ -3145,6 +3145,10 @@
type_hash_marked_p (p)
const void *p;
{
+ if ( TYPE_SYMTAB_ADDRESS (((struct type_hash *) p)->type) != 0)
+ {
+ return 1;
+ }
return ggc_marked_p (((struct type_hash *) p)->type);
}
@@ -3154,6 +3158,7 @@
type_hash_mark (p)
const void *p;
{
+ ggc_mark_tree (((struct type_hash *) p)->type);
ggc_mark (p);
}