From cf69bfbf38d5b9742d171ae250ed59c1f7399e16 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 14 Dec 1999 14:25:37 -0800 Subject: re GNATS gcj/110 (don't exclude private methods from method table when optimizing) Tue Dec 14 14:20:16 1999 Per Bothner * class.c (make_class_data): flag_keep_inline_functions to keep private methods in the method array. (This is a fix to the Java PR #110: http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00179.html) From-SVN: r30930 --- gcc/java/class.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/java/class.c') diff --git a/gcc/java/class.c b/gcc/java/class.c index 77e7fce..66941bd 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -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); -- cgit v1.1