PATCH for expand_end_bindings
Jeffrey A Law
law@upchuck.cygnus.com
Mon May 31 20:56:00 GMT 1999
In message < 19990521154252U.mitchell@codesourcery.com >you write:
>
> This patch modifies expand_end_bindings to ignore any elements of the
> VARS list it is passed that are not VAR_DECLs. It almost did this
> already, but would ocasionally look at DECL_RTL for things that were
> not DECLs. (It's convenient for the C++ front-end to be able to put
> non-VAR_DECLs on this list.)
>
> I'd like to put this patch on the branch as well since it avoids
> accessing nodes incorrectly, which we sometimes did, even for legal
> code.
>
> (BTW, this is more stuff revealed by --enable_checking.)
>
> --
> Mark Mitchell mark@codesourcery.com
> CodeSourcery, LLC http://www.codesourcery.com
>
> Fri May 21 15:39:51 1999 Mark Mitchell <mark@codesourcery.com>
>
> * stmt.c (expand_end_bindings): Ignore any elements of VARS that
> are not VAR_DECLs.
This is fine. Thanks!
jeff
More information about the Gcc-patches
mailing list