This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 34985 Warning "defined but not used" despite __attribute__((__used__))
- From: Ian Lance Taylor <iant at google dot com>
- To: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 25 Jul 2008 10:18:45 -0700
- Subject: Re: PR 34985 Warning "defined but not used" despite __attribute__((__used__))
- References: <6c33472e0807222338y72a95313nfc560d3934ae98fc@mail.gmail.com>
"Manuel LÃpez-IbÃÃez" <lopezibanez@gmail.com> writes:
> 2008-07-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org
>
> PR 34985
> * c-decl.c (merge_decls): Merge USED flags.
> cp/
> * decl.c (duplicate_decls): Merge USED flags.
> testsuite/
> * gcc.dg/pr34985.c: New.
> * g++.dg/warn/pr34985.C: New
This is OK (note that I think mainline is frozen today for the tuples
merge).
Thanks.
Ian