summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2011-01-21 09:05:14 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2011-01-21 10:05:14 +0100
commit1dd584a2d766d0679c9c68bdb11449196d3b73d9 (patch)
tree186772f805b6095c3f0cded06a31b916e6cc0215 /gcc/java
parent7f1f7ffb496174346fd73b93ebaf12ee4a26685f (diff)
downloadgcc-1dd584a2d766d0679c9c68bdb11449196d3b73d9.tar.gz
re PR bootstrap/47215 (Failed to bootstrap)
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-21 Kai Tietz <kai.tietz@onevision.com> PR bootstrap/47215 * config/i386/i386.c (ix86_local_alignment): Handle case for va_list_type_node is nil. (ix86_canonical_va_list_type): Likewise. From-SVN: r169080
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/decl.c15
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 ();