On May 17, 2005, at 11:35 PM, Andreas Jaeger wrote:
On x86_64-linux-gnu I get with current CVS the following bootstrap error:

/cvs/gcc/libobjc/Object.m: In function '-[Object name]':
/cvs/gcc/libobjc/Object.m:101: internal compiler error: in tree_node_structure,
at tree.c:1815
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This was a fallout from some changes Mark and Geoff wanted. :-( I didn't get hit by it because I have too much ram.


Anyway, easy enough to fix:

2005-05-18  Mike Stump  <[EMAIL PROTECTED]>

        PR objc/21641
        * objc-act.c (struct interface_tuple): Mark it up for GC.
        (interface_htab): It is really a struct interface_tuple.

Doing diffs in .:
--- ./objc/objc-act.c.~1~       2005-05-17 09:40:56.000000000 -0700
+++ ./objc/objc-act.c   2005-05-18 12:34:05.000000000 -0700
@@ -3045,13 +3045,14 @@ objc_generate_write_barrier (tree lhs, e
   return result;
 }
 
-static GTY ((param_is (union tree_node))) htab_t interface_htab;
-
-struct interface_tuple {
+struct interface_tuple GTY(())
+{
   tree id;
   tree class_name;
 };
 
+static GTY ((param_is (struct interface_tuple))) htab_t interface_htab;
+
 static hashval_t
 hash_interface (const void *p)
 {
--------------

Reply via email to