summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cgraphunit.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a86d857d55e..9a511c659c6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2008-06-18 Jan Hubicka <jh@suse.cz>
+ * cgraphunit.c (cgraph_optimize): Output debug info when doing
+ toplevel reorder too.
+
+2008-06-18 Jan Hubicka <jh@suse.cz>
+
* c-opts.c (c_common_post_options): PCH is not compatible with
no-unit-at-a-time.
* opts.c (handle_options): Enable unit-at-a-time at O0 along with
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index b03913dc5bd..a5b116b4de8 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -1431,8 +1431,8 @@ cgraph_optimize (void)
varpool_remove_unreferenced_decls ();
varpool_assemble_pending_decls ();
- varpool_output_debug_info ();
}
+ varpool_output_debug_info ();
cgraph_process_new_functions ();
cgraph_state = CGRAPH_STATE_FINISHED;