diff options
| author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-01 19:03:24 +0000 |
|---|---|---|
| committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-01 19:03:24 +0000 |
| commit | b7aa2b221eb445be51ac98bdafcb7aff9720455a (patch) | |
| tree | 7f5fa6e62849ac581926405721e67335862d8a48 | |
| parent | 679780faa4ff1682cdeb3c52eb0be3a7421bfdd8 (diff) | |
| download | ppe42-gcc-b7aa2b221eb445be51ac98bdafcb7aff9720455a.tar.gz ppe42-gcc-b7aa2b221eb445be51ac98bdafcb7aff9720455a.zip | |
2006-10-01 Ryan Mansfield <rmansfield@qnx.com>
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
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/doc/extend.texi | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e7fc16ffab9..e957ecb4f9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index fe507f2975e..1c1ccb15032 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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: |

