diff options
| author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-21 16:55:07 +0000 |
|---|---|---|
| committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-21 16:55:07 +0000 |
| commit | 4d3bc044b09207e8a063874eca6c72be49cf65e4 (patch) | |
| tree | 69fac0c74746dd478d619120319d03ca1985287f /gcc/java/java-gimplify.c | |
| parent | c02b87237b09e802c3ffd674d2f8dd3070bf98af (diff) | |
| download | ppe42-gcc-4d3bc044b09207e8a063874eca6c72be49cf65e4.tar.gz ppe42-gcc-4d3bc044b09207e8a063874eca6c72be49cf65e4.zip | |
2004-06-21 Andrew Haley <aph@redhat.com>
* java-gimplify.c (java_gimplify_block): set TREE_USED on the new
block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83441 138bc75d-0d04-0410-961f-82ee72b054a4
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 987351c2102..3c446672255 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); |

