This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[doc patch] Fix PR 20533 - Missing 'used' variable attribute desc ription
- From: Ryan Mansfield <RMansfield at qnx dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 6 Mar 2006 11:32:22 -0500
- Subject: [doc patch] Fix PR 20533 - Missing 'used' variable attribute desc ription
2006-03-06 Ryan Mansfield <rmansfield@qnx.com>
* doc/extend.texi: Add used variable attribute description.
Index: extend.texi
===================================================================
--- extend.texi (revision 111787)
+++ extend.texi (working copy)
@@ -3097,6 +3097,10 @@
to be possibly unused. GCC will not produce a warning for this
variable.
+@item used
+This attribute, attached to a variable, means that the variable must be
+emitted even if it appears that the variable is not referenced.
+
@item vector_size (@var{bytes})
This attribute specifies the vector size for the variable, measured in
bytes. For example, the declaration:
Regards,
Ryan Mansfield