Tom de Vries <tjvr...@xs4all.nl> writes: > static int prop(const_tree type) > { > return type == A; > } > > static int type_hash_marked_p (const void *p) { > const_tree const type = ((const struct type_hash *) p)->type; > return ggc_marked_p (type) || prop (type); > }
I would like to question your premise. The gcc garbage collector is not some general purpose library. It's specifically for the use of gcc. Why, in gcc, would you want to write such an if_marked property? Is there some simpler and clearer way to express what you actually want to have happen? Ian