This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]