Tue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com>
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 1999 22:25:37 +0000 (22:25 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 1999 22:25:37 +0000 (22:25 +0000)
* 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)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30930 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/class.c

index d81bdcc..2f8941d 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 77e7fce..66941bd 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);