2007-04-23 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Apr 2007 14:19:39 +0000 (14:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Apr 2007 14:19:39 +0000 (14:19 +0000)
* tree-ssa-sink.c (execute_sink_code): Calculate CDI_DOMINATORS
and CDI_POST_DOMINATORS separately.

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

gcc/ChangeLog
gcc/tree-ssa-sink.c

index 99c65da..6f7e715 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-23  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-sink.c (execute_sink_code): Calculate CDI_DOMINATORS
+       and CDI_POST_DOMINATORS separately.
+
 2007-04-23  Nick Clifton  <nickc@redhat.com>
 
        * c.opt (Wformat-contains-nul): Add warning attribute.
index b30c23d..c81f83c 100644 (file)
@@ -527,7 +527,8 @@ execute_sink_code (void)
 
   connect_infinite_loops_to_exit ();
   memset (&sink_stats, 0, sizeof (sink_stats));
-  calculate_dominance_info (CDI_DOMINATORS | CDI_POST_DOMINATORS);
+  calculate_dominance_info (CDI_DOMINATORS);
+  calculate_dominance_info (CDI_POST_DOMINATORS);
   sink_code_in_bb (EXIT_BLOCK_PTR); 
   if (dump_file && (dump_flags & TDF_STATS))
     fprintf (dump_file, "Sunk statements:%d\n", sink_stats.sunk);