This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[doc, committed] add xref to documentation of mode attribute
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 8 Jan 2017 20:08:58 -0700
- Subject: [doc, committed] add xref to documentation of mode attribute
- Authentication-results: sourceware.org; auth=none
I've checked in this patch to fix another long-standing (but easy)
documentation PR.
-Sandra
2017-01-08 Sandra Loosemore <sandra@codesourcery.com>
PR middle-end/17660
gcc/
* extend.texi (Common Variable Attributes): Add xref to GCC
Internals manual to explain mode attribute keywords.
Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi (revision 244213)
+++ gcc/doc/extend.texi (working copy)
@@ -5725,6 +5725,8 @@ This attribute specifies the data type f
type corresponds to the mode @var{mode}. This in effect lets you
request an integer or floating-point type according to its width.
+@xref{Machine Modes,,, gccint, GNU Compiler Collection (GCC) Internals},
+for a list of the possible keywords for @var{mode}.
You may also specify a mode of @code{byte} or @code{__byte__} to
indicate the mode corresponding to a one-byte integer, @code{word} or
@code{__word__} for the mode of a one-word integer, and @code{pointer}