From 36365906b74c92f33668387ae16842ed9d6c1b2a Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Wed, 13 Jan 2016 02:51:11 +0000 Subject: remove mark_hook gty attribute gcc/ChangeLog: 2016-01-12 Trevor Saunders PR middle-end/54809 * doc/gty.texi: Remove documentation of mark_hook. * gengtype.c (struct write_types_data): Remove code to support mark_hook attribute. (walk_type): Likewise. (write_func_for_structure): Likewise. From-SVN: r232309 --- gcc/doc/gty.texi | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gcc/doc') diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index d3ca4e0..1a22e4b 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -261,16 +261,6 @@ garbage collection runs, there's no need to mark anything pointed to by this variable, it can just be set to @code{NULL} instead. This is used to keep a list of free structures around for re-use. -@findex mark_hook -@item mark_hook ("@var{hook-routine-name}") - -If provided for a structure or union type, the given -@var{hook-routine-name} (between double-quotes) is the name of a -routine called when the garbage collector has just marked the data as -reachable. This routine should not change the data, or call any ggc -routine. Its only argument is a pointer to the just marked (const) -structure or union. - @findex maybe_undef @item maybe_undef -- cgit v1.1