re GNATS gcj/110 (don't exclude private methods from method table when optimizing)
authorPer Bothner <per@bothner.com>
Tue, 14 Dec 1999 22:25:37 +0000 (14:25 -0800)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Tue, 14 Dec 1999 22:25:37 +0000 (14:25 -0800)
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.

(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
gcc/java/class.c

index d81bdccb984ee3dc82a2f0d9cc887d4e8bc52b0e..2f8941dcc5b86e8de3b745304f92a1856f6b0390 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 1999-12-15  Anthony Green  <green@cygnus.com>
 
        * check-init.c (check_init): Take into account both types of
index 77e7fce08333a1a4c7920c1f38b12f31b8ca0640..66941bd49675a0a2892e649ad00ec4a7d38baad0 100644 (file)
@@ -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);