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]

Re: Bootstrap comparison failure - cygwin and irix


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);
 }


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