tree-vect-slp.c (vect_build_slp_tree_1): Init vectype.
authorIlya Enkovich <enkovich.gnu@gmail.com>
Wed, 24 Jun 2015 14:09:46 +0000 (14:09 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Wed, 24 Jun 2015 14:09:46 +0000 (14:09 +0000)
* tree-vect-slp.c (vect_build_slp_tree_1): Init vectype.

From-SVN: r224900

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

index 6c4a267..cb889e2 100644 (file)
@@ -1,3 +1,7 @@
+2015-06-24  Ilya Enkovich  <enkovich.gnu@gmail.com>
+
+       * tree-vect-slp.c (vect_build_slp_tree_1): Init vectype.
+
 2015-06-24 Renlin Li <renlin.li@arm.com>
 
        * config/aarch64/aarch64.h(TARGET_CPU_CPP_BUILTINS): Add
index 91ddc0f..bbc7d13 100644 (file)
@@ -480,7 +480,7 @@ vect_build_slp_tree_1 (loop_vec_info loop_vinfo, bb_vec_info bb_vinfo,
   enum tree_code first_cond_code = ERROR_MARK;
   tree lhs;
   bool need_same_oprnds = false;
-  tree vectype, scalar_type, first_op1 = NULL_TREE;
+  tree vectype = NULL_TREE, scalar_type, first_op1 = NULL_TREE;
   optab optab;
   int icode;
   machine_mode optab_op2_mode;