From 873a593f0b4c38cf6b5bdf68f4d704e607a0cea9 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Sun, 8 Jan 2017 22:06:23 -0500 Subject: [PATCH] re PR middle-end/17660 (manual's description of __attribute__((mode)) is poor, arrangement is confusing) 2017-01-08 Sandra Loosemore PR middle-end/17660 gcc/ * extend.texi (Common Variable Attributes): Add xref to GCC Internals manual to explain mode attribute keywords. From-SVN: r244215 --- gcc/ChangeLog | 7 +++++++ gcc/doc/extend.texi | 2 ++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa231c17cf1..c8f093e9e12 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-01-08 Sandra Loosemore + + PR middle-end/17660 + + * extend.texi (Common Variable Attributes): Add xref to GCC + Internals manual to explain mode attribute keywords. + 2017-01-08 Sandra Loosemore PR other/16519 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index e85da3a0313..8af428da505 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -5725,6 +5725,8 @@ This attribute specifies the data type for the declaration---whichever 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} -- 2.30.2