decl.c (java_init_decl_processing): _Jv_NewMultiArray is a varargs function -- correct.
authorAndrew Haley <aph@redhat.com>
Tue, 14 Jan 2003 17:01:04 +0000 (17:01 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Tue, 14 Jan 2003 17:01:04 +0000 (17:01 +0000)
2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
        varargs function -- correct.

From-SVN: r61289

gcc/java/ChangeLog
gcc/java/decl.c

index ff3d89dbdbd150fddcd5f6db3f20848e07c58799..d1ad2011525581ab6375aafe0d5029e1db8f3fd0 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-14  Andrew Haley  <aph@redhat.com>
+
+       * decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
+        varargs function -- correct.
+
 2003-01-14  Andrew Haley  <aph@redhat.com>
 
        * decl.c (java_init_decl_processing): Temporarily back out previous patch.
index d07f83ee098c3fac93bb1db8a6df18e06ebfbb3f..eec38706730a0fe2f02f7fd8eff3292462e5eae3 100644 (file)
@@ -810,8 +810,10 @@ 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,
-                tree_cons (NULL_TREE, int_type_node, endlink));
+                tree_cons (NULL_TREE, int_type_node, NULL_TREE));
   soft_multianewarray_node
       = builtin_function ("_Jv_NewMultiArray",
                          build_function_type (ptr_type_node, t),