aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-vect-generic.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 77fe678..03e2b5c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-23 Ilya Enkovich <enkovich.gnu@gmail.com>
+
+ * tree-vect-generic.c (expand_vector_condition): Avoid
+ uninitialized variable warning.
+
2015-10-23 Jeff Law <law@redhat.com>
* 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 2005383..d1fc0ba 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);