summaryrefslogtreecommitdiff
path: root/gcc/java/java-gimplify.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2005-09-06 15:22:34 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2005-09-06 08:22:34 -0700
commit3e248b831501dcc1b222a2f27e880eff0b54e523 (patch)
tree887999d443692a7087b09cc5193c304f3e2b6fa8 /gcc/java/java-gimplify.c
parent5cc53d4ece08f31e4b7dfeb563df42e3cec9f9e9 (diff)
downloadgcc-3e248b831501dcc1b222a2f27e880eff0b54e523.tar.gz
java-gimplify.c (java_gimplify_block): NULL out the old BLOCK's BLOCK_EXPR_BODY before returning the new BIND_EXPR.
2005-09-06 Andrew Pinski <pinskia@physics.uc.edu> * java-gimplify.c (java_gimplify_block): NULL out the old BLOCK's BLOCK_EXPR_BODY before returning the new BIND_EXPR. From-SVN: r103950
Diffstat (limited to 'gcc/java/java-gimplify.c')
-rw-r--r--gcc/java/java-gimplify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c
index a07e1bbdc96..e5d7a4377d9 100644
--- a/gcc/java/java-gimplify.c
+++ b/gcc/java/java-gimplify.c
@@ -285,6 +285,7 @@ java_gimplify_block (tree java_block)
outer = BIND_EXPR_BLOCK (outer);
BLOCK_SUBBLOCKS (outer) = chainon (BLOCK_SUBBLOCKS (outer), block);
}
+ BLOCK_EXPR_BODY (java_block) = NULL_TREE;
return build3 (BIND_EXPR, TREE_TYPE (java_block), decls, body, block);
}