gty.texi (Options): Document the mark_hook option to GTY.
authorBasile Starynkevitch <bstarynk@gcc.gnu.org>
Fri, 19 Jan 2007 18:05:08 +0000 (18:05 +0000)
committerBasile Starynkevitch <bstarynk@gcc.gnu.org>
Fri, 19 Jan 2007 18:05:08 +0000 (18:05 +0000)
commitb7c75af4b5b275047cb622ae85f98839cf6299a1
treea5b51de9afb4bff7ecd2b41bb8b9d06decf8be84
parent8d6419b2178b613e874864fbb51aa89398451002
gty.texi (Options): Document the mark_hook option to GTY.

2007-01-19  Basile Starynkevitch  <basile@starynkevitch.net>

* doc/gty.texi (Options): Document the mark_hook option to
GTY.
* gcc/gengtype.c (write_types_data, write_func_for_structure,
write_types, ggc_wtd, pch_wtd): Added skip_hooks to
write_types_data, ggc_wtd, pch_wtd for mark_hook.
(walk_type, write_func_for_structure): Generate the mark_hook if
needed.

From-SVN: r120974
gcc/ChangeLog