mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 18:01:22 +08:00
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
This commit is contained in:
parent
5cc53d4ece
commit
3e248b8315
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2005-09-06 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* check-init.c, decl.c, expr.c, gcj.texi, java-tree.h,
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user