aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadedge.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2013-08-28 09:07:45 -0600
committerJeff Law <law@gcc.gnu.org>2013-08-28 09:07:45 -0600
commit34554d1a8ff28d42caf020a4e68982458fc9ad93 (patch)
tree089b6bbb6feac49068fc164ef9c0ffc916a99955 /gcc/tree-ssa-threadedge.c
parent184799e76349bb0cc0f3193194d32d1edd405cf9 (diff)
downloadgcc-34554d1a8ff28d42caf020a4e68982458fc9ad93.zip
gcc-34554d1a8ff28d42caf020a4e68982458fc9ad93.tar.gz
gcc-34554d1a8ff28d42caf020a4e68982458fc9ad93.tar.bz2
tree-ssa-threadedge.c (thread_around_empty_block): Remove checks for the number of predecessors and successors allowed.
* tree-ssa-threadedge.c (thread_around_empty_block): Remove checks for the number of predecessors and successors allowed. * tree-ssa-threadupdate.c (mark_threaded_blocks): Ignore requests which require copying a joiner block if there is a request which is a subpath that requires no joiner block copying. From-SVN: r202054
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
-rw-r--r--gcc/tree-ssa-threadedge.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c
index 320dec5..fc33647 100644
--- a/gcc/tree-ssa-threadedge.c
+++ b/gcc/tree-ssa-threadedge.c
@@ -761,14 +761,6 @@ thread_around_empty_block (edge taken_edge,
gimple stmt;
tree cond;
- /* This block must have a single predecessor (E->dest). */
- if (!single_pred_p (bb))
- return NULL;
-
- /* This block must have more than one successor. */
- if (single_succ_p (bb))
- return NULL;
-
/* This block can have no PHI nodes. This is overly conservative. */
if (!gsi_end_p (gsi_start_phis (bb)))
return NULL;