re PR c/20533 (documentation: attribute 'used', applied to a variable)
[gcc.git] / gcc / doc / extend.texi
index fe507f2975eac57e1eb293aec9d3ae1bedb99b9f..1c1ccb150325ce8288f7a100467227883436f2e6 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: