aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2003-01-14 15:03:16 +0000
committerAndrew Haley <aph@gcc.gnu.org>2003-01-14 15:03:16 +0000
commite5c9ced471dcce57f09608eba75eb3e0419fb77b (patch)
tree0bdd8eff5aafe94cef97b091b9dee6f957fa0d5a /gcc/java/decl.c
parentb399dfb0b492aed5eaffbb4fa6ebca3e66a389e7 (diff)
downloadgcc-e5c9ced471dcce57f09608eba75eb3e0419fb77b.zip
gcc-e5c9ced471dcce57f09608eba75eb3e0419fb77b.tar.gz
gcc-e5c9ced471dcce57f09608eba75eb3e0419fb77b.tar.bz2
decl.c (java_init_decl_processing): Temporarily back out previous patch.
2003-01-14 Andrew Haley <aph@redhat.com> * decl.c (java_init_decl_processing): Temporarily back out previous patch. From-SVN: r61286
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index c388539..d07f83e 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -810,9 +810,8 @@ java_init_decl_processing (void)
0, NOT_BUILT_IN, NULL, NULL_TREE);
DECL_IS_MALLOC (soft_anewarray_node) = 1;
- /* There is no endlink here because _Jv_NewMultiArray is a varargs
- function. */
- t = tree_cons (NULL_TREE, ptr_type_node, int_type_node);
+ t = tree_cons (NULL_TREE, ptr_type_node,
+ tree_cons (NULL_TREE, int_type_node, endlink));
soft_multianewarray_node
= builtin_function ("_Jv_NewMultiArray",
build_function_type (ptr_type_node, t),