[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-patches
Subject:    Fix typo in internal documents
From:       "Paulo J. Matos" <pocmatos () gmail ! com>
Date:       2011-07-27 14:21:43
Message-ID: j0p6tn$mcm$1 () dough ! gmane ! org
[Download RAW message or body]

There is a typo in the internal documentation. This patch fixes this.

Please let me know if the patch is not in the required format.

PMatos

2011-07-26  Paulo J. Matos <paulo.matos@csr.com>

	* Fix internal documentation typo. TERGET should be TARGET.

["intdoc.patch" (text/x-patch)]

diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 097531f..419faf0 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -2851,7 +2851,7 @@ A target hook returns the maximum number of consecutive registers
 of class @var{rclass} needed to hold a value of mode @var{mode}.
 
 This is closely related to the macro @code{HARD_REGNO_NREGS}.  In fact,
-the value returned by @code{TERGET_CLASS_MAX_NREGS (@var{rclass},
+the value returned by @code{TARGET_CLASS_MAX_NREGS (@var{rclass},
 @var{mode})} target hook should be the maximum value of
 @code{HARD_REGNO_NREGS (@var{regno}, @var{mode})} for all @var{regno}
 values in the class @var{rclass}.
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index 01beeb4..0a3a396 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -2837,7 +2837,7 @@ A target hook returns the maximum number of consecutive registers
 of class @var{rclass} needed to hold a value of mode @var{mode}.
 
 This is closely related to the macro @code{HARD_REGNO_NREGS}.  In fact,
-the value returned by @code{TERGET_CLASS_MAX_NREGS (@var{rclass},
+the value returned by @code{TARGET_CLASS_MAX_NREGS (@var{rclass},
 @var{mode})} target hook should be the maximum value of
 @code{HARD_REGNO_NREGS (@var{regno}, @var{mode})} for all @var{regno}
 values in the class @var{rclass}.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic