diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-02 17:04:41 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-02 17:04:41 +0000 |
commit | 4d996ee830bc8839de37941a4bcaba7720551b97 (patch) | |
tree | 5810285eb036f44ca8a7bb28e421589ad146c775 /gcc/java/java-gimplify.c | |
parent | 79e6e76be9b761aa4d273d17b401b10f55be167e (diff) | |
download | gcc-4d996ee830bc8839de37941a4bcaba7720551b97.tar.gz |
2005-12-02 Richard Guenther <rguenther@suse.de>
* java-gimplify.c (java_gimplify_labeled_block_expr): Use
buildN instead of build.
* class.c (finish_class): Likewise.
* expr.c (java_create_object): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-gimplify.c')
-rw-r--r-- | gcc/java/java-gimplify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.c index e5d7a4377d9..6c1a366698f 100644 --- a/gcc/java/java-gimplify.c +++ b/gcc/java/java-gimplify.c @@ -186,9 +186,9 @@ java_gimplify_labeled_block_expr (tree expr) tree t; DECL_CONTEXT (label) = current_function_decl; - t = build (LABEL_EXPR, void_type_node, label); + t = build1 (LABEL_EXPR, void_type_node, label); if (body != NULL_TREE) - t = build (COMPOUND_EXPR, void_type_node, body, t); + t = build2 (COMPOUND_EXPR, void_type_node, body, t); return t; } |