Re: [PATCH] Amend attribute used documentation (PR other/58467)

2013-09-19 Thread Ian Lance Taylor
On Thu, Sep 19, 2013 at 7:36 AM, Marek Polacek wrote: > __attribute__((used)) is meant to be used only on VAR_DECLs that are > TREE_STATIC, but the documentation does not say that. Thus fixed. > > Ok? > > 2013-09-19 Marek Polacek > > PR other/58467 > * doc/extend.texi: Document

[PATCH] Amend attribute used documentation (PR other/58467)

2013-09-19 Thread Marek Polacek
__attribute__((used)) is meant to be used only on VAR_DECLs that are TREE_STATIC, but the documentation does not say that. Thus fixed. Ok? 2013-09-19 Marek Polacek PR other/58467 * doc/extend.texi: Document that attribute used is meant to be used on variables with sta