aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index eb9ea71..6f724f4 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1917,7 +1917,7 @@ finish_class (void)
tree verify_method = TYPE_VERIFY_METHOD (output_class);
DECL_SAVED_TREE (verify_method)
= add_stmt_to_compound (DECL_SAVED_TREE (verify_method), void_type_node,
- build (RETURN_EXPR, void_type_node, NULL));
+ build1 (RETURN_EXPR, void_type_node, NULL));
java_genericize (verify_method);
cgraph_finalize_function (verify_method, false);
TYPE_ASSERTIONS (current_class) = NULL;