This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on2003-04-11T06:41:30Z.
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Geoffrey Keating <geoffk at apple dot com>
- Cc: gcc-regression at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com, dave dot anglin at nrc-cnrc dot gc dot ca, davidc at freebsd dot org, redi at gcc dot gnu dot org, tromey at redhat dot com
- Date: Fri, 11 Apr 2003 10:29:34 -0700
- Subject: Re: GCC build failed for native with your patch on2003-04-11T06:41:30Z.
- References: <18CFB590-6C42-11D7-840E-0050E4BAD278@apple.com>
Geoffrey Keating <geoffk at apple dot com> writes:
>> I believe the appended patch should fix this bug, but I do not have
>> access to a Darwin system to verify it. My apologies for not looking
>> thoroughly enough for remaining uses of IDENTIFIER_LOCAL_VALUE; this
>> really should be the last one.
>
> This looks right, although I suspect that it's actually a bug that
> #pragma unused doesn't work on file-scope objects.
I could just knock out the DECL_CONTEXT line and fix that too, if you
like - the pragma would then apply to whatever definition is visible
in the current scope.
zw