From 4a2dd6fe83fffff0edc19d385f0d45727c729023 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 14 Sep 2004 01:50:12 +0000 Subject: [PATCH] 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 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/class.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 90a4b9314f1..ecb2cad4e8d 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2004-09-13 Tom Tromey + + PR java/17216: + * class.c (layout_class_method): Put synthetic methods into the + vtable. + 2004-09-11 Andrew Pinski * Make-lang.in (java/ggc-none.c): Change dependency diff --git a/gcc/java/class.c b/gcc/java/class.c index d88fbb15809..7a67e8f3e59 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -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)); -- 2.30.2