This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [COMMITTED] Fix cross compilers with 2.95.3


After Andrew Haley's patch to typeck.c, the definition of a variable is moved down, I moved
the definition back up with this patch.


Committed as obvious for both the mainline and 3.4 branch.

Thanks,
Andrew Pinski


2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>


        * typeck.c (find_method_in_interfaces): Move variable
        definition up.




Index: typeck.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/java/typeck.c,v retrieving revision 1.59 diff -u -p -r1.59 typeck.c --- typeck.c 16 Jan 2004 17:11:08 -0000 1.59 +++ typeck.c 17 Jan 2004 01:51:28 -0000 @@ -797,6 +797,7 @@ find_method_in_interfaces (tree searched tree child = TREE_VEC_ELT (TYPE_BINFO_BASETYPES (searched_class), i); tree iclass = BINFO_TYPE (child); + tre method; /* If the superinterface hasn't been loaded yet, do so now. */ if (CLASS_FROM_SOURCE_P (iclass)) @@ -806,7 +807,7 @@ find_method_in_interfaces (tree searched /* First, we look in ICLASS. If that doesn't work we'll recursively look through all its superinterfaces. */ - tree method = shallow_find_method (iclass, flags, method_name, + method = shallow_find_method (iclass, flags, method_name, signature, signature_builder); if (method != NULL_TREE) return method;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]