diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/expr.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3a0afa2..c26e950 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,9 @@ 2010-05-18 Nathan Froyd <froydnj@codesourcery.com> + * expr.c (pop_arguments): Fix use of undeclared variable. + +2010-05-18 Nathan Froyd <froydnj@codesourcery.com> + * expr.c (expand_java_multianewarray): Use build_call_vec instead of build_call_list. (pop_arguments): Return a VEC instead of a tree. Take a method type diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 5eacd64..177a038 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1949,7 +1949,7 @@ pop_arguments (tree method_type) VEC_safe_push (tree, gc, args, type); } - arity = VEC_length (tree, typestack); + arity = VEC_length (tree, args); while (arity--) { |