On Tue, 11 Jun 2013, Alan Modra wrote: > Index: gcc/doc/tm.texi.in > =================================================================== > --- gcc/doc/tm.texi.in (revision 199781) > +++ gcc/doc/tm.texi.in (working copy) > @@ -6375,6 +6375,12 @@ > registers on machines with lots of registers. > @end deftypefn > > +@hook TARGET_INIT_LOWER_SUBREG > +This hook allows modification of the choices the lower_subreg pass > +will make for particular subreg modes. @var{data} is a pointer to a > +@code{struct target_lower_subreg}. > +@end deftypefn
It's preferred to put the hook documentation in the doc string in target.def, so tm.texi.in then only contains the @hook line indicating where the documentation will go in tm.texi. -- Joseph S. Myers jos...@codesourcery.com