This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use IDENTIFIER_LIMBO_VALUE to match extern decl in block scope


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]