This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Java: fix to PR #110
- To: egcs-patches at egcs dot cygnus dot com
- Subject: [PATCH] Java: fix to PR #110
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Tue, 14 Dec 1999 14:27:13 -0800
I checked in this patch proposed by Per Bothner as a fix to the PR #110:
http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00179.html
./A
Tue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com>
* class.c (make_class_data): flag_keep_inline_functions to keep
private methods in the method array.
Index: class.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/class.c,v
retrieving revision 1.49
diff -u -p -r1.49 class.c
--- class.c 1999/11/21 23:37:58 1.49
+++ class.c 1999/12/11 06:22:08
@@ -1216,6 +1216,7 @@ make_class_data (type)
{
tree init;
if (METHOD_PRIVATE (method)
+ && ! flag_keep_inline_functions
&& (flag_inline_functions || optimize))
continue;
init = make_method_value (method);