summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-uninit.c
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-23 16:17:28 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-23 16:17:28 +0000
commit658c2e374d1419a9620b352b40df5dbd21e24407 (patch)
tree4cb7a3554f2f12b758e0a97eea017c5d159b4c07 /gcc/tree-ssa-uninit.c
parentfb97d6bbaaf165e670471ce96d4e27aa483c69a8 (diff)
downloadgcc-658c2e374d1419a9620b352b40df5dbd21e24407.tar.gz
fix pr48988
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174077 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-uninit.c')
-rw-r--r--gcc/tree-ssa-uninit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c
index 7ddce32a62f..c6da47b6cd9 100644
--- a/gcc/tree-ssa-uninit.c
+++ b/gcc/tree-ssa-uninit.c
@@ -358,6 +358,8 @@ convert_control_dep_chain_into_preds (VEC(edge, heap) **dep_chains,
for (i = 0; i < num_chains; i++)
{
VEC(edge, heap) *one_cd_chain = dep_chains[i];
+
+ has_valid_pred = false;
for (j = 0; j < VEC_length (edge, one_cd_chain); j++)
{
gimple cond_stmt;