Patchwork Remove stray text on @hook TARGET_CANONICALIZE_COMPARISON in tm.texi.in

login
register
mail settings
Submitter Joseph S. Myers
Date July 10, 2013, 9:37 p.m.
Message ID <Pine.LNX.4.64.1307102136060.18288@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/258248/
State New
Headers show

Comments

Joseph S. Myers - July 10, 2013, 9:37 p.m.
I noticed that the documentation of TARGET_CANONICALIZE_COMPARISON in 
tm.texi.in had stray text after the hook name on the @hook line, which 
became stray text after the prototype in the @deftypefn line in tm.texi.  
I've committed this patch to fix this.

Patch

Index: doc/tm.texi
===================================================================
--- doc/tm.texi	(revision 200890)
+++ doc/tm.texi	(working copy)
@@ -6040,7 +6040,7 @@ 
 in @file{@var{machine}-modes.def}.
 @end defmac
 
-@deftypefn {Target Hook} void TARGET_CANONICALIZE_COMPARISON (int *@var{code}, rtx *@var{op0}, rtx *@var{op1}, bool @var{op0_preserve_value}) (@var{code}, @var{op0}, @var{op1}, @var{op0_preserve_value})
+@deftypefn {Target Hook} void TARGET_CANONICALIZE_COMPARISON (int *@var{code}, rtx *@var{op0}, rtx *@var{op1}, bool @var{op0_preserve_value})
 On some machines not all possible comparisons are defined, but you can
 convert an invalid comparison into a valid one.  For example, the Alpha
 does not have a @code{GT} comparison, but you can use an @code{LT}
Index: doc/tm.texi.in
===================================================================
--- doc/tm.texi.in	(revision 200890)
+++ doc/tm.texi.in	(working copy)
@@ -5940,7 +5940,7 @@ 
 in @file{@var{machine}-modes.def}.
 @end defmac
 
-@hook TARGET_CANONICALIZE_COMPARISON (@var{code}, @var{op0}, @var{op1}, @var{op0_preserve_value})
+@hook TARGET_CANONICALIZE_COMPARISON
 On some machines not all possible comparisons are defined, but you can
 convert an invalid comparison into a valid one.  For example, the Alpha
 does not have a @code{GT} comparison, but you can use an @code{LT}
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 200890)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@ 
+2013-07-10  Joseph Myers  <joseph@codesourcery.com>
+
+	* doc/tm.texi.in (TARGET_CANONICALIZE_COMPARISON): Remove stray
+	text on @hook line.
+	* doc/tm.texi: Regenerate.
+
 2013-07-10  Paolo Carlini  <paolo.carlini@oracle.com>
 
 	PR c++/57869