diff options
author | Mike Stump <mrs@apple.com> | 2005-05-18 20:02:27 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2005-05-18 20:02:27 +0000 |
commit | 55cb016929542dfcf421a86070f6bb4e5cf9f86e (patch) | |
tree | c2229aa9c3e93e290332e92faea3236e72ec89e4 /gcc/objc | |
parent | 755b3990ab26f9e12f96c164b6626c2ca84930d7 (diff) | |
download | gcc-55cb016929542dfcf421a86070f6bb4e5cf9f86e.zip gcc-55cb016929542dfcf421a86070f6bb4e5cf9f86e.tar.gz gcc-55cb016929542dfcf421a86070f6bb4e5cf9f86e.tar.bz2 |
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
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <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) { |