From 808bcc26553c7046676d62be4e3a64e6687bf1a2 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Thu, 12 May 2016 18:17:27 +0200
Subject: [PATCH] Fix ASAN bootstrap (uninitialized variable warning)
gcc/ChangeLog:
2016-05-12 Martin Liska <mliska@suse.cz>
* tree-vect-patterns.c (vect_recog_mask_conversion_pattern):
Initialize a variable with default value.
---
gcc/tree-vect-patterns.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -3570,7 +3570,8 @@ vect_recog_mask_conversion_pattern (vec<gimple *> *stmts, tree *type_in,
{
gimple *last_stmt = stmts->pop ();
enum tree_code rhs_code;
- tree lhs, rhs1, rhs2, tmp, rhs1_type, rhs2_type, vectype1, vectype2;
+ tree lhs = NULL_TREE, rhs1, rhs2, tmp, rhs1_type, rhs2_type;
+ tree vectype1, vectype2;
stmt_vec_info stmt_vinfo = vinfo_for_stmt (last_stmt);
stmt_vec_info pattern_stmt_info;
vec_info *vinfo = stmt_vinfo->vinfo;
--
2.8.2