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
This commit is contained in:
Ryan Mansfield 2006-10-01 19:03:24 +00:00 committed by Roger Sayle
parent 56f61bfff3
commit 5f79d6437c
2 changed files with 9 additions and 0 deletions

View 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

View 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: