aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/decl.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 98dd104..b3e3ec6 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-06 Richard Guenther <rguenther@suse.de>
+
+ * decl.c (java_init_decl_processing):
+ Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
+
2011-06-21 Andrew MacLeod <amacleod@redhat.com>
* builtins.c: Add sync_ or SYNC__ to builtin names.
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index e4a3db2..179a2c3 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -567,10 +567,7 @@ java_init_decl_processing (void)
global_binding_level = current_binding_level;
/* Build common tree nodes, Java has an unsigned char. */
- build_common_tree_nodes (false);
-
- /* Build the rest of the common tree nodes. */
- build_common_tree_nodes_2 (0);
+ build_common_tree_nodes (false, false);
/* ??? Now we continue and override some of the built types again
with Java specific types. As the above generated types are