This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use IDENTIFIER_LIMBO_VALUE to match extern decl in block scope
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, ang at redhat dot com,"Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Wed, 20 Feb 2002 20:22:06 +0000
- Subject: Re: Use IDENTIFIER_LIMBO_VALUE to match extern decl in block scope
- References: <orelkyhlh1.fsf@free.redhat.lsd.ic.unicamp.br>
Alexandre Oliva wrote:-
> While Neil's patch below fixed PR 653, it broke the testcase included
> in the patch below.
>
> 2001-11-02 Neil Booth <neil@daikokuya.demon.co.uk>
>
> * c-decl.c (pushdecl): Move block inside if conditional to remove
> possibility of a segfault. Lookup block-level extern
> variables in enclosing scopes correctly.
>
> * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.
>
>
> This patch restores the correct behavior for the included testcase
> without breaking the formerly-fixed testcase. Boostrapped and
> regression-tested on athlon-pc-linux-gnu. Ok to install?
Anything happen with this?
Neil.