This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] gimplifying leaves reference to the BLOCK's body
- From: Andrew Haley <aph at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: patch Patches <gcc-patches at gcc dot gnu dot org>, GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Tue, 6 Sep 2005 15:43:02 +0100
- Subject: Re: [PATCH] gimplifying leaves reference to the BLOCK's body
- References: <9e49a0e69cbb0c3b7d70c1966f7739c5@physics.uc.edu>
Andrew Pinski writes:
> The problem here is that we keep a hold of the body of a BLOCK even
> though we don't need it after gimplifying. This patch NULLs out
> BLOCK_EXPR_BODY, the old BLOCK's BLOCK_EXPR_BODY which causes us to
> be able to GC away the expressions and not keep around dead
> expressions. This also gives us one more step to back to enabling
> unit-at-a-time at -O1 and above.
OK, thanks.
Andrew.