summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-14 17:01:04 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-14 17:01:04 +0000
commit3dd02c64442b516b3dd945eb47d77db5431f0024 (patch)
treebff9114e7c7f5887abfc64fa4438973aa826c690
parentfadfba625e7b926a2ad8056d6bc3abdfade78e8e (diff)
downloadppe42-gcc-3dd02c64442b516b3dd945eb47d77db5431f0024.tar.gz
ppe42-gcc-3dd02c64442b516b3dd945eb47d77db5431f0024.zip
2003-01-14 Andrew Haley <aph@redhat.com>
* decl.c (java_init_decl_processing): _Jv_NewMultiArray is a varargs function -- correct. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61289 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/decl.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index ff3d89dbdbd..d1ad2011525 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,5 +1,10 @@
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.
2003-01-14 Andrew Haley <aph@redhat.com>
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index d07f83ee098..eec38706730 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -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),
OpenPOWER on IntegriCloud