java-gimplify.c (java_gimplify_block): set TREE_USED on the new block.

2004-06-21  Andrew Haley  <aph@redhat.com>

	* java-gimplify.c (java_gimplify_block): set TREE_USED on the new
	block.

From-SVN: r83441
This commit is contained in:
Andrew Haley 2004-06-21 16:55:07 +00:00 committed by Andrew Haley
parent deb3d52fec
commit 979bf9a120
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-06-21 Andrew Haley <aph@redhat.com>
* java-gimplify.c (java_gimplify_block): set TREE_USED on the new
block.
2004-06-21 Joseph S. Myers <jsm@polyomino.org.uk>
* jcf.h (struct JCF): Change java_source, right_zip and finished

View File

@ -177,6 +177,11 @@ java_gimplify_block (tree java_block)
because they use BLOCK_SUBBLOCKS for another purpose. */
block = make_node (BLOCK);
BLOCK_VARS (block) = decls;
/* The TREE_USED flag on a block determines whether the debug ouput
routines generate info for the variables in that block. */
TREE_USED (block) = 1;
if (outer != NULL_TREE)
{
outer = BIND_EXPR_BLOCK (outer);