]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* expr.c (pop_arguments): Fix use of undeclared variable.
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 2010 01:15:43 +0000 (01:15 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 May 2010 01:15:43 +0000 (01:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159555 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/expr.c

index 3a0afa2ed9c9fbc283aed18cd78a6cee1f20909d..c26e950bcf9ac2329ea13a03dcb881d01f8fc6eb 100644 (file)
@@ -1,3 +1,7 @@
+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
index 5eacd646fe4afbc4457151b45ce1a2b848ff8ce2..177a03858e75cbdbd0446824cf1d28b16c5f0513 100644 (file)
@@ -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--)
     {