Commit 87fccdbb by Marek Polacek Committed by Marek Polacek

re PR other/58467 (Documentation of the "used" variable attribute needs additional information)

2013-09-20  Marek Polacek  <polacek@redhat.com>

	PR other/58467
	* doc/extend.texi: Document that attribute used is meant to be used
	on variables with static storage duration.

From-SVN: r202764
parent aeca9c2e
2013-09-20 Marek Polacek <polacek@redhat.com>
PR other/58467
* doc/extend.texi: Document that attribute used is meant to be used
on variables with static storage duration.
2013-09-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/58472
......
......@@ -4891,8 +4891,9 @@ to be possibly unused. GCC does 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.
This attribute, attached to a variable with the static storage, means that
the variable must be emitted even if it appears that the variable is not
referenced.
When applied to a static data member of a C++ class template, the
attribute also means that the member is instantiated if the
......
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