OSDN Git Service

2006-07-24 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jul 2006 11:42:52 +0000 (11:42 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jul 2006 11:42:52 +0000 (11:42 +0000)
PR middle-end/28463
* cgraph.c (cgraph_remove_node): Do not check if dumps
are enabled.
* cgraphunit.c (cgraph_optimize): Likewise.

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

gcc/ChangeLog
gcc/cgraph.c
gcc/cgraphunit.c

index b03da44..226a63b 100644 (file)
@@ -1,3 +1,10 @@
+2006-07-24  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/28463
+       * cgraph.c (cgraph_remove_node): Do not check if dumps
+       are enabled.
+       * cgraphunit.c (cgraph_optimize): Likewise.
+
 2006-07-24  Jan Hubicka  <jh@suse.cz>
 
        PR rtl-optimization/28071
index 5dd0afb..e20c8d5 100644 (file)
@@ -509,7 +509,7 @@ cgraph_remove_node (struct cgraph_node *node)
        kill_body = true;
     }
 
-  if (kill_body && !dump_enabled_p (TDI_tree_all) && flag_unit_at_a_time)
+  if (kill_body && flag_unit_at_a_time)
     {
       DECL_SAVED_TREE (node->decl) = NULL;
       DECL_STRUCT_FUNCTION (node->decl) = NULL;
index c0e4149..db44cb8 100644 (file)
@@ -1536,7 +1536,6 @@ cgraph_optimize (void)
   /* Double check that all inline clones are gone and that all
      function bodies have been released from memory.  */
   if (flag_unit_at_a_time
-      && !dump_enabled_p (TDI_tree_all)
       && !(sorrycount || errorcount))
     {
       struct cgraph_node *node;