tree-ssa-sink.c (execute_sink_code): Calculate CDI_DOMINATORS and CDI_POST_DOMINATORS...
authorRichard Guenther <rguenther@suse.de>
Mon, 23 Apr 2007 14:19:39 +0000 (14:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 Apr 2007 14:19:39 +0000 (14:19 +0000)
2007-04-23  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sink.c (execute_sink_code): Calculate CDI_DOMINATORS
and CDI_POST_DOMINATORS separately.

From-SVN: r124065

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

index 99c65da6a7f3dd9566c2fcdee96ec636bd9c95e3..6f7e715bac2b9407b10d71f3e1bcd4a9e62cf49b 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 b30c23d65f8c6e224efbfa61e33b544515f8f8e1..c81f83c098f42eff5a33c19bfe6dbcc61506a980 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);