]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/51112 (LTO bootstrap failed with bootstrap-profiled)
authorIra Rosen <ira.rosen@linaro.org>
Mon, 14 Nov 2011 06:41:09 +0000 (06:41 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Mon, 14 Nov 2011 06:41:09 +0000 (06:41 +0000)
        PR bootstrap/51112
        * tree-vect-stmts.c (vectorizable_condition): Initialize
        comp_vectype.

From-SVN: r181347

gcc/ChangeLog
gcc/tree-vect-stmts.c

index dff01791a84a0ddeae0fe36959add7dd74f14bcf..8534bc675c9c076fe5d6a5fd0e2f8de52f3df0fe 100644 (file)
@@ -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}
index 93e8198678bb4c63aab0dfeee1a4a3c4b2bf89e4..8589a850df967d592e7feaa3de69fe8753e3dab6 100644 (file)
@@ -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;