diff options
author | Andrew Haley <aph@redhat.com> | 2004-06-21 16:55:07 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2004-06-21 16:55:07 +0000 |
commit | 979bf9a120b592b4b7002424a44bf4b9b0854596 (patch) | |
tree | 69fac0c74746dd478d619120319d03ca1985287f /gcc/java/java-gimplify.c | |
parent | deb3d52fec87690fed1a14aa4f8666a59f0fcc14 (diff) | |
download | gcc-979bf9a120b592b4b7002424a44bf4b9b0854596.zip gcc-979bf9a120b592b4b7002424a44bf4b9b0854596.tar.gz gcc-979bf9a120b592b4b7002424a44bf4b9b0854596.tar.bz2 |
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
Diffstat (limited to 'gcc/java/java-gimplify.c')
-rw-r--r-- | gcc/java/java-gimplify.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c index 987351c..3c44667 100644 --- a/gcc/java/java-gimplify.c +++ b/gcc/java/java-gimplify.c @@ -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); |