* cgraphunit.c (cgraph_optimize): Output debug info when doing
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jun 2008 19:09:08 +0000 (19:09 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jun 2008 19:09:08 +0000 (19:09 +0000)
toplevel reorder too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136905 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cgraphunit.c

index a86d857..9a511c6 100644 (file)
@@ -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
index b03913d..a5b116b 100644 (file)
@@ -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;