Commit 5f79d643 by Ryan Mansfield Committed by Roger Sayle

re PR c/20533 (documentation: attribute 'used', applied to a variable)

2006-10-01  Ryan Mansfield  <rmansfield@qnx.com>

	PR c/20533
	* doc/extend.texi: Add used variable attribute description.

From-SVN: r117349
parent 56f61bff
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> 2006-09-30 Joseph S. Myers <joseph@codesourcery.com>
PR c/24010 PR c/24010
......
...@@ -3175,6 +3175,10 @@ This attribute, attached to a variable, means that the variable is meant ...@@ -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 to be possibly unused. GCC will not produce a warning for this
variable. 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}) @item vector_size (@var{bytes})
This attribute specifies the vector size for the variable, measured in This attribute specifies the vector size for the variable, measured in
bytes. For example, the declaration: bytes. For example, the declaration:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment