diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-23 14:19:39 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-23 14:19:39 +0000 |
commit | f1456a875b137b2b09ef429f8dc80be815eed7be (patch) | |
tree | e9a82ca3da117c3d66fd554ab0a0375514b143bf /gcc | |
parent | 0e457001c5e9c280e5779b4fac48b30b1bc2b406 (diff) | |
download | gcc-f1456a875b137b2b09ef429f8dc80be815eed7be.tar.gz |
2007-04-23 Richard Guenther <rguenther@suse.de>
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-sink.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99c65da6a7f..6f7e715bac2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/tree-ssa-sink.c b/gcc/tree-ssa-sink.c index b30c23d65f8..c81f83c098f 100644 --- a/gcc/tree-ssa-sink.c +++ b/gcc/tree-ssa-sink.c @@ -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); |