summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-14 11:19:25 +0000
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-14 11:19:25 +0000
commitfd23e5081f8e8ba0a443189e391affb9f7443619 (patch)
tree492dd048045c9f932f9aaf5f9d5b3f9cd7653ee2 /gcc
parentf7d03b30194c3926e7c7bea1057ed616bb15b4d5 (diff)
downloadgcc-fd23e5081f8e8ba0a443189e391affb9f7443619.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 26fedcca639..b45aa5ab753 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 a1a0ec06e0d..9271b805a59 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