From: mrs Date: Wed, 18 May 2005 20:02:27 +0000 (+0000) Subject: PR objc/21641 X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=3c905014c0a13bea5e94c6d41593e991fc22ccea;hp=7e1c77ca034b013d51b3f193b3fe8bf968f37a44 PR objc/21641 * objc-act.c (struct interface_tuple): Mark it up for GC. (interface_htab): It is really a struct interface_tuple. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99922 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 10465b82115..9e65d6c1de9 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 c1ce2e794d6..92eaa63b0e0 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) {