From df11cc78c2800961ac3086d978ded2704c9f7d1d Mon Sep 17 00:00:00 2001 From: Ira Rosen Date: Mon, 14 Nov 2011 06:41:09 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-vect-stmts.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dff01791a84..8534bc675c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-14 Ira Rosen + + PR bootstrap/51112 + * tree-vect-stmts.c (vectorizable_condition): Initialize comp_vectype. + 2011-11-14 Mingjie Xing * doc/invoke.texi (Wunused-result): Change @pxref{Variable Attributes} diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index 93e8198678b..8589a850df9 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; -- 2.30.2