From: Ira Rosen Date: Mon, 14 Nov 2011 06:41:09 +0000 (+0000) Subject: re PR bootstrap/51112 (LTO bootstrap failed with bootstrap-profiled) X-Git-Tag: releases/gcc-4.7.0~2204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df11cc78c2800961ac3086d978ded2704c9f7d1d;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dff01791a84a..8534bc675c9c 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 93e8198678bb..8589a850df96 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;