re PR java/17216 (ICE in 3.5, error in 3.4.1 when compiling .class->.o)

PR java/17216:
	* class.c (layout_class_method): Put synthetic methods into the
	vtable.

From-SVN: r87477
This commit is contained in:
Tom Tromey 2004-09-14 01:50:12 +00:00 committed by Tom Tromey
parent f45c31ea1a
commit 4a2dd6fe83
2 changed files with 7 additions and 1 deletions

View 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

View 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));