diff options
author | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-03-12 10:19:04 -0800 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 1999-03-12 10:19:04 -0800 |
commit | 2aa11e9772e5ffc892a8e5f9a169555fa5af1bef (patch) | |
tree | 829080f77242a542fa4b3ead2a4d30e264856c16 /gcc/java/class.c | |
parent | 8084bf81c782ec5d2831db7fa576089ccb0c5d49 (diff) | |
download | gcc-2aa11e9772e5ffc892a8e5f9a169555fa5af1bef.zip gcc-2aa11e9772e5ffc892a8e5f9a169555fa5af1bef.tar.gz gcc-2aa11e9772e5ffc892a8e5f9a169555fa5af1bef.tar.bz2 |
parse.y (java_stabilize_reference): Return NODE when patching a COMPOUND_EXPR.
1999-03-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (java_stabilize_reference): Return NODE when patching a
COMPOUND_EXPR.
(java_complete_lhs): Put parenthesis around truth values.
1999-03-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class_method): Don't make rtl for interface
methods.
* parse.h (GET_TYPE_NAME): New macro.
* parse.y (if_then_statement:): Fixed indentation.
(if_then_else_statement:): Likewise.
(for_statement:): Fixed spacing.
(try_statement:): Fixed indentation.
(create_interface): Don't force interfaces to be abstract.
(method_header): Abstract methods are OK in interfaces.
(declare_local_variables): Fixed typo in comment.
(java_complete_expand_method): Fixed indentation.
(resolve_qualified_expression_name): Use GET_TYPE_NAME to report
non accessible fields.
(java_stabilize_reference): New function.
(java_complete_lhs): Fixed indentation. Use
java_stabilize_reference in compound assignement. Insert the
cast. If not processing `+' fix string constants before processing
binop.
From-SVN: r25733
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index e4f4224..f05cf16 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1604,7 +1604,8 @@ layout_class_method (this_class, super_class, method_decl, dtable_count) obstack_1grow (&temporary_obstack, '\0'); asm_name = obstack_finish (&temporary_obstack); DECL_ASSEMBLER_NAME (method_decl) = get_identifier (asm_name); - if (! METHOD_ABSTRACT (method_decl)) + if (! METHOD_ABSTRACT (method_decl) + && ! CLASS_INTERFACE (TYPE_NAME (this_class))) make_function_rtl (method_decl); obstack_free (&temporary_obstack, asm_name); |