tree-vect-transform.c (vectorizable_conversion): Initialize tree_code variables to...
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 27 May 2007 07:21:58 +0000 (07:21 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 27 May 2007 07:21:58 +0000 (00:21 -0700)
2007-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* tree-vect-transform.c (vectorizable_conversion): Initialize
tree_code variables to ERROR_MARK.
(vectorizable_type_demotion): Likewise.
(vectorizable_type_promotion): Likewise.

From-SVN: r125107

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

index ab4fb2b..8edffc7 100644 (file)
@@ -1,3 +1,10 @@
+2007-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * tree-vect-transform.c (vectorizable_conversion): Initialize
+       tree_code variables to ERROR_MARK.
+       (vectorizable_type_demotion): Likewise.
+       (vectorizable_type_promotion): Likewise.
+
 2007-05-26  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/32065
index 30e7211..6108532 100644 (file)
@@ -2007,7 +2007,7 @@ vectorizable_conversion (tree stmt, block_stmt_iterator * bsi,
   tree vec_oprnd0 = NULL_TREE, vec_oprnd1 = NULL_TREE;
   stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
   loop_vec_info loop_vinfo = STMT_VINFO_LOOP_VINFO (stmt_info);
-  enum tree_code code, code1 = CODE_FOR_nothing, code2 = CODE_FOR_nothing;
+  enum tree_code code, code1 = ERROR_MARK, code2 = ERROR_MARK;
   tree decl1 = NULL_TREE, decl2 = NULL_TREE;
   tree new_temp;
   tree def, def_stmt;
@@ -2694,7 +2694,7 @@ vectorizable_type_demotion (tree stmt, block_stmt_iterator *bsi,
   tree vec_oprnd0=NULL, vec_oprnd1=NULL;
   stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
   loop_vec_info loop_vinfo = STMT_VINFO_LOOP_VINFO (stmt_info);
-  enum tree_code code, code1 = CODE_FOR_nothing;
+  enum tree_code code, code1 = ERROR_MARK;
   tree new_temp;
   tree def, def_stmt;
   enum vect_def_type dt0;
@@ -2842,7 +2842,7 @@ vectorizable_type_promotion (tree stmt, block_stmt_iterator *bsi,
   tree vec_oprnd0=NULL, vec_oprnd1=NULL;
   stmt_vec_info stmt_info = vinfo_for_stmt (stmt);
   loop_vec_info loop_vinfo = STMT_VINFO_LOOP_VINFO (stmt_info);
-  enum tree_code code, code1 = CODE_FOR_nothing, code2 = CODE_FOR_nothing;
+  enum tree_code code, code1 = ERROR_MARK, code2 = ERROR_MARK;
   tree decl1 = NULL_TREE, decl2 = NULL_TREE;
   int op_type; 
   tree def, def_stmt;