diff options
author | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-09 16:29:08 +0000 |
---|---|---|
committer | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-09 16:29:08 +0000 |
commit | 69c7c3a1f42a1ce9022c2b5e5f9263bf59d78840 (patch) | |
tree | 199c37c18d53eaf3b70b9c0156e24d433e1be901 /gcc/tree-ssa-uninit.c | |
parent | 33672307f2406abf316c6ff839b9b660ca585f05 (diff) | |
download | gcc-69c7c3a1f42a1ce9022c2b5e5f9263bf59d78840.tar.gz |
Fix PR48484
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172229 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-uninit.c')
-rw-r--r-- | gcc/tree-ssa-uninit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c index 02b166ab883..479ffce5ed7 100644 --- a/gcc/tree-ssa-uninit.c +++ b/gcc/tree-ssa-uninit.c @@ -349,9 +349,6 @@ convert_control_dep_chain_into_preds (VEC(edge, heap) **dep_chains, if (num_chains == 0 || num_chains >= MAX_NUM_CHAINS) return false; - /* Now convert CD chains into predicates */ - has_valid_pred = true; - /* Now convert the control dep chain into a set of predicates. */ *preds = XCNEWVEC (VEC(use_pred_info_t, heap) *, @@ -412,6 +409,7 @@ convert_control_dep_chain_into_preds (VEC(edge, heap) **dep_chains, one_pred->cond = cond_stmt; one_pred->invert = !!(e->flags & EDGE_FALSE_VALUE); VEC_safe_push (use_pred_info_t, heap, (*preds)[i], one_pred); + has_valid_pred = true; } if (!has_valid_pred) |