From 55cb016929542dfcf421a86070f6bb4e5cf9f86e Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 18 May 2005 20:02:27 +0000 Subject: [PATCH] re PR objc/21641 (cris-axis-elf, cris-axis-linux-gnu, mmix-knuth-mmixware, x86_64-unknown-linux-gnu broken libobjc/Object.m) PR objc/21641 * objc-act.c (struct interface_tuple): Mark it up for GC. (interface_htab): It is really a struct interface_tuple. From-SVN: r99922 --- gcc/objc/ChangeLog | 6 ++++++ gcc/objc/objc-act.c | 7 ++++--- 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 + + 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 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) { -- 2.7.4