This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Amend attribute used documentation (PR other/58467)
- From: Ian Lance Taylor <iant at google dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 19 Sep 2013 16:25:38 -0700
- Subject: Re: [PATCH] Amend attribute used documentation (PR other/58467)
- Authentication-results: sourceware.org; auth=none
- References: <20130919143620 dot GH15960 at redhat dot com>
On Thu, Sep 19, 2013 at 7:36 AM, Marek Polacek <polacek@redhat.com> 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 <polacek@redhat.com>
>
> PR other/58467
> * doc/extend.texi: Document that attribute used is meant to be used
> on variables with static storage duration.
This is OK. Thanks.
Ian