cgraphunit.c (cgraph_optimize): Output debug info when doing toplevel reorder too.
authorJan Hubicka <jh@suse.cz>
Wed, 18 Jun 2008 19:09:08 +0000 (21:09 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 18 Jun 2008 19:09:08 +0000 (19:09 +0000)
* cgraphunit.c (cgraph_optimize): Output debug info when doing
toplevel reorder too.

From-SVN: r136905

gcc/ChangeLog
gcc/cgraphunit.c

index a86d857d55e92e5d1f6a3433fff5121ff6b082ab..9a511c659c690a071830736ed52a2a1cbf85eca2 100644 (file)
@@ -1,3 +1,8 @@
+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
index b03913dc5bd8240c9a2030d82b4b59458ffacd89..a5b116b4de8432111aed6055a50a8635bae2ea79 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;