Commit 979bf9a1 by Andrew Haley Committed by Andrew Haley

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
parent deb3d52f
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> 2004-06-21 Joseph S. Myers <jsm@polyomino.org.uk>
* jcf.h (struct JCF): Change java_source, right_zip and finished * jcf.h (struct JCF): Change java_source, right_zip and finished
......
...@@ -177,6 +177,11 @@ java_gimplify_block (tree java_block) ...@@ -177,6 +177,11 @@ java_gimplify_block (tree java_block)
because they use BLOCK_SUBBLOCKS for another purpose. */ because they use BLOCK_SUBBLOCKS for another purpose. */
block = make_node (BLOCK); block = make_node (BLOCK);
BLOCK_VARS (block) = decls; 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) if (outer != NULL_TREE)
{ {
outer = BIND_EXPR_BLOCK (outer); outer = BIND_EXPR_BLOCK (outer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment