aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/ChangeLog4
-rw-r--r--gcc/go/gofrontend/gogo-tree.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index 652a36d..951d3f9 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-30 Jan Hubicka <jh@suse.cz>
+
+ * gogo-tree.cc (Gogo::write_globals): Use finalize_compilation_unit.
+
2012-04-23 Ian Lance Taylor <iant@google.com>
* go-lang.c (go_langhook_init): Set MPFR precision to 256.
diff --git a/gcc/go/gofrontend/gogo-tree.cc b/gcc/go/gofrontend/gogo-tree.cc
index 762f9fc..7f73238 100644
--- a/gcc/go/gofrontend/gogo-tree.cc
+++ b/gcc/go/gofrontend/gogo-tree.cc
@@ -930,7 +930,7 @@ Gogo::write_globals()
wrapup_global_declarations(vec, count);
- cgraph_finalize_compilation_unit();
+ finalize_compilation_unit();
check_global_declarations(vec, count);
emit_debug_global_declarations(vec, count);