diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-06 15:22:34 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-09-06 15:22:34 +0000 |
commit | 39506e4e1bc64f7b05ab236283bb804338721720 (patch) | |
tree | 887999d443692a7087b09cc5193c304f3e2b6fa8 /gcc/java/java-gimplify.c | |
parent | fcb3f76e49122610579aff6585c27613be286f99 (diff) | |
download | gcc-39506e4e1bc64f7b05ab236283bb804338721720.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103950 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-gimplify.c')
-rw-r--r-- | gcc/java/java-gimplify.c | 1 |
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); } |