This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More ADDR_EXPR fixes + new checking code
- From: Paul Schlie <schlie at comcast dot net>
- To: Jeffrey A Law <law at redhat dot com>,<gcc-patches at gcc dot gnu dot org>
- Date: Wed, 25 May 2005 20:53:24 -0400
- Subject: Re: More ADDR_EXPR fixes + new checking code
> Trying to bootstrap Ada showed that we were still not setting
> CURRENT_FUNCTION_DECL appropriately in all the cases where it
> was necessary. The changes to tree-nested.c should fix that
> problem. Ada still won't bootstrap, but the bootstrap problems
> are not related to the ADDR_EXPR changes.
>
> This patch also adds Daniel's checking code to verify that
> we're keeping the constant, invariant and side_effects flags
> on ADDR_EXPRs up-to-date.
Any chance TREE_READONLY can be verified for consistency as well?
(as READONLY STRING_CST references seem to get lost on occasion)