aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/objc/ChangeLog6
-rw-r--r--gcc/objc/objc-act.c7
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 10465b8..9e65d6c 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-18 Mike Stump <mrs@apple.com>
+
+ PR objc/21641
+ * objc-act.c (struct interface_tuple): Mark it up for GC.
+ (interface_htab): It is really a struct interface_tuple.
+
2005-05-17 Mike Stump <mrs@apple.com>
Yet more Objective-C++...
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index c1ce2e7..92eaa63 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -3045,13 +3045,14 @@ objc_generate_write_barrier (tree lhs, enum tree_code modifycode, tree rhs)
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)
{