aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rosen <ira.rosen@linaro.org>2011-11-14 06:41:09 +0000
committerIra Rosen <irar@gcc.gnu.org>2011-11-14 06:41:09 +0000
commitdf11cc78c2800961ac3086d978ded2704c9f7d1d (patch)
tree9f4668427c474109d45402640c6f217b226f65de
parent51c0279887bb9caa141253e72eb7d418ffae6f58 (diff)
downloadgcc-df11cc78c2800961ac3086d978ded2704c9f7d1d.zip
gcc-df11cc78c2800961ac3086d978ded2704c9f7d1d.tar.gz
gcc-df11cc78c2800961ac3086d978ded2704c9f7d1d.tar.bz2
re PR bootstrap/51112 (LTO bootstrap failed with bootstrap-profiled)
PR bootstrap/51112 * tree-vect-stmts.c (vectorizable_condition): Initialize comp_vectype. From-SVN: r181347
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-vect-stmts.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dff0179..8534bc6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-14 Ira Rosen <ira.rosen@linaro.org>
+
+ PR bootstrap/51112
+ * tree-vect-stmts.c (vectorizable_condition): Initialize comp_vectype.
+
2011-11-14 Mingjie Xing <mingjie.xing@gmail.com>
* doc/invoke.texi (Wunused-result): Change @pxref{Variable Attributes}
diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c
index 93e8198..8589a85 100644
--- a/gcc/tree-vect-stmts.c
+++ b/gcc/tree-vect-stmts.c
@@ -4968,7 +4968,7 @@ vectorizable_condition (gimple stmt, gimple_stmt_iterator *gsi,
tree cond_expr, then_clause, else_clause;
stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
tree vectype = STMT_VINFO_VECTYPE (stmt_info);
- tree comp_vectype;
+ tree comp_vectype = NULL_TREE;
tree vec_cond_lhs = NULL_TREE, vec_cond_rhs = NULL_TREE;
tree vec_then_clause = NULL_TREE, vec_else_clause = NULL_TREE;
tree vec_compare, vec_cond_expr;