From cf69bfbf38d5b9742d171ae250ed59c1f7399e16 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 14 Dec 1999 14:25:37 -0800 Subject: [PATCH] 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/ChangeLog | 5 +++++ gcc/java/class.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index d81bdccb984..2f8941dcc5b 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +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. + 1999-12-15 Anthony Green * check-init.c (check_init): Take into account both types of diff --git a/gcc/java/class.c b/gcc/java/class.c index 77e7fce0833..66941bd4967 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);