From: Ilya Enkovich Date: Fri, 23 Oct 2015 22:38:37 +0000 (+0000) Subject: tree-vect-generic.c (expand_vector_condition): Avoid uninitialized variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=486208e77a7b49e1aa975d03773b5f827e6d27d9;p=gcc.git tree-vect-generic.c (expand_vector_condition): Avoid uninitialized variable warning. gcc/ * tree-vect-generic.c (expand_vector_condition): Avoid uninitialized variable warning. From-SVN: r229274 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77fe67856fd..03e2b5c535e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-23 Ilya Enkovich + + * tree-vect-generic.c (expand_vector_condition): Avoid + uninitialized variable warning. + 2015-10-23 Jeff Law * passes.c (execute_function_todo): Do not call flush_ssaname_freelist diff --git a/gcc/tree-vect-generic.c b/gcc/tree-vect-generic.c index 20053839d2b..d1fc0ba0f51 100644 --- a/gcc/tree-vect-generic.c +++ b/gcc/tree-vect-generic.c @@ -844,7 +844,7 @@ expand_vector_condition (gimple_stmt_iterator *gsi) tree type = gimple_expr_type (stmt); tree a = gimple_assign_rhs1 (stmt); tree a1 = a; - tree a2; + tree a2 = NULL_TREE; bool a_is_comparison = false; tree b = gimple_assign_rhs2 (stmt); tree c = gimple_assign_rhs3 (stmt);