OSDN Git Service

2006-10-01 Ryan Mansfield <rmansfield@qnx.com>
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Oct 2006 19:03:24 +0000 (19:03 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Oct 2006 19:03:24 +0000 (19:03 +0000)
PR c/20533
* doc/extend.texi: Add used variable attribute description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117349 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/extend.texi

index e7fc16f..e957ecb 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-01  Ryan Mansfield  <rmansfield@qnx.com>
+
+       PR c/20533
+       * doc/extend.texi: Add used variable attribute description. 
+
 2006-09-30  Joseph S. Myers  <joseph@codesourcery.com>
 
        PR c/24010
index fe507f2..1c1ccb1 100644 (file)
@@ -3175,6 +3175,10 @@ This attribute, attached to a variable, means that the variable is meant
 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: