diff options
author | Per Bothner <per@bothner.com> | 1999-12-14 14:25:37 -0800 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-12-14 14:25:37 -0800 |
commit | cf69bfbf38d5b9742d171ae250ed59c1f7399e16 (patch) | |
tree | 406c783779fbdae42d6db8a01075136139481ecc /gcc/java/class.c | |
parent | 6979065c1686e69766a0fa871abb68bcfb83b1c6 (diff) | |
download | gcc-cf69bfbf38d5b9742d171ae250ed59c1f7399e16.zip gcc-cf69bfbf38d5b9742d171ae250ed59c1f7399e16.tar.gz gcc-cf69bfbf38d5b9742d171ae250ed59c1f7399e16.tar.bz2 |
re GNATS gcj/110 (don't exclude private methods from method table when optimizing)
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
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |