aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Belevantsev <abel@ispras.ru>2010-01-14 14:19:25 +0300
committerAndrey Belevantsev <abel@gcc.gnu.org>2010-01-14 14:19:25 +0300
commitc6486552090f07189b36075052a08069511f983c (patch)
tree492dd048045c9f932f9aaf5f9d5b3f9cd7653ee2
parentf07013eb07cfe45ef2d67ce9ddce7cea5883e5ac (diff)
downloadgcc-c6486552090f07189b36075052a08069511f983c.zip
gcc-c6486552090f07189b36075052a08069511f983c.tar.gz
gcc-c6486552090f07189b36075052a08069511f983c.tar.bz2
sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all successors is the same as number of successors...
* sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all successors is the same as number of successors in current region. From-SVN: r155899
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sel-sched.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 26fedcca..b45aa5a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-14 Andrey Belevantsev <abel@ispras.ru>
+
+ * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
+ all successors is the same as number of successors in current region.
+
2010-01-14 Alexander Monakov <amonakov@ispras.ru>
* sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c
index a1a0ec0..9271b80 100644
--- a/gcc/sel-sched.c
+++ b/gcc/sel-sched.c
@@ -2752,8 +2752,7 @@ compute_av_set_at_bb_end (insn_t insn, ilist_t p, int ws)
VEC_index (int, sinfo->probs_ok, is),
sinfo->all_prob);
- if (sinfo->all_succs_n > 1
- && sinfo->all_succs_n == sinfo->succs_ok_n)
+ if (sinfo->all_succs_n > 1)
{
/* Find EXPR'es that came from *all* successors and save them
into expr_in_all_succ_branches. This set will be used later