diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/java/decl.c | 15 |
2 files changed, 6 insertions, 15 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 77281e98804..28e89649c09 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2011-01-21 Kai Tietz <kai.tietz@onevision.com> + + PR bootstrap/47215 + * decl.c (java_init_decl_processing): Remove + va_list_type_node related type initializations. + 2011-01-11 Kai Tietz <kai.tietz@onevision.com> PR bootstrap/47215 diff --git a/gcc/java/decl.c b/gcc/java/decl.c index d575a422334..a17b826696b 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -1153,21 +1153,6 @@ java_init_decl_processing (void) soft_lrem_node = add_builtin_function ("_Jv_remJ", t, 0, NOT_BUILT_IN, NULL, NULL_TREE); - /* Initialize va_list_type_node. */ - unsigned_type_node = make_unsigned_type (INT_TYPE_SIZE); - long_integer_type_node = make_signed_type (LONG_TYPE_SIZE); - - t = targetm.build_builtin_va_list (); - - /* Many back-ends define record types without setting TYPE_NAME. - If we copied the record type here, we'd keep the original - record type without a name. This breaks name mangling. So, - don't copy record types and let c_common_nodes_and_builtins() - declare the type to be __builtin_va_list. */ - if (TREE_CODE (t) != RECORD_TYPE) - t = build_variant_type_copy (t); - - va_list_type_node = t; initialize_builtins (); |