re PR java/17216 (ICE in 3.5, error in 3.4.1 when compiling .class->.o)
authorTom Tromey <tromey@redhat.com>
Tue, 14 Sep 2004 01:50:12 +0000 (01:50 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 14 Sep 2004 01:50:12 +0000 (01:50 +0000)
PR java/17216:
* class.c (layout_class_method): Put synthetic methods into the
vtable.

From-SVN: r87477

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

index 90a4b9314f1ecebad5948fe7d4c3536a6b69e128..ecb2cad4e8d8516bb3a2c267997b13c8369a68e1 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-13  Tom Tromey  <tromey@redhat.com>
+
+       PR java/17216:
+       * class.c (layout_class_method): Put synthetic methods into the
+       vtable.
+
 2004-09-11  Andrew Pinski  <apinski@apple.com>
 
        * Make-lang.in (java/ggc-none.c): Change dependency
index d88fbb158091ad2ca1463d1ee7689c1cf1d01405..7a67e8f3e59f7a30d4bd4aea4de2cf596ebdaaa5 100644 (file)
@@ -2254,7 +2254,7 @@ layout_class_method (tree this_class, tree super_class,
       DECL_CONSTRUCTOR_P (method_decl) = 1;
       build_java_argument_signature (TREE_TYPE (method_decl));
     }
-  else if (! METHOD_STATIC (method_decl) && !DECL_ARTIFICIAL (method_decl))
+  else if (! METHOD_STATIC (method_decl))
     {
       tree method_sig =
        build_java_argument_signature (TREE_TYPE (method_decl));