This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Robustify weakref attribute (PR c/37645)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Sep 2008 21:39:15 +0000 (UTC)
- Subject: Re: [PATCH] Robustify weakref attribute (PR c/37645)
- References: <20080925212135.GE11114@hs20-bc2-1.build.redhat.com>
On Thu, 25 Sep 2008, Jakub Jelinek wrote:
> 2008-09-25 Jakub Jelinek <jakub@redhat.com>
>
> PR c/37645
> * c-common.c (handle_weakref_attribute): Ignore the attribute unless
> the decl is a VAR_DECL or FUNCTION_DECL.
>
> * gcc.dg/pr37645.c: New test.
OK.
--
Joseph S. Myers
joseph@codesourcery.com