diff options
author | Xinliang David Li <davidxl@google.com> | 2011-04-09 16:29:08 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@gcc.gnu.org> | 2011-04-09 16:29:08 +0000 |
commit | 3411bc59c6a0a9d6d0f6899f1072565a346afacd (patch) | |
tree | 199c37c18d53eaf3b70b9c0156e24d433e1be901 /gcc/tree-ssa-uninit.c | |
parent | b365495ab5fbdf842db5b909b88dea4e2d778a87 (diff) | |
download | gcc-3411bc59c6a0a9d6d0f6899f1072565a346afacd.zip gcc-3411bc59c6a0a9d6d0f6899f1072565a346afacd.tar.gz gcc-3411bc59c6a0a9d6d0f6899f1072565a346afacd.tar.bz2 |
Fix PR48484
From-SVN: r172229
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 02b166a..479ffce 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) |