diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index f783e53a250..7a35a1e73bd 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2008-03-12 Paolo Bonzini + + * mangle.c (java_mangle_decl): Remove dead check. + 2008-03-11 Paolo Bonzini * jcf-parse.c (java_parse_file): Assert binding levels are diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c index c92be1c0693..2e89a30f992 100644 --- a/gcc/java/mangle.c +++ b/gcc/java/mangle.c @@ -239,9 +239,6 @@ cxx_keyword_p (const char *name, int length) void java_mangle_decl (tree decl) { - if (TREE_CODE (decl) == RECORD_TYPE) - mangle_type (decl); - /* A copy of the check from the beginning of lhd_set_decl_assembler_name. Only FUNCTION_DECLs and VAR_DECLs for variables with static storage duration need a real DECL_ASSEMBLER_NAME. */