[PATCH][4.5] Fix -Werror bootstrap

Richard Guenther rguenther@suse.de
Thu Mar 3 12:21:00 GMT 2011


Bootstrapped on x86_64-unknown-linux-gnu, applied.

Richard.

2011-03-03  Richard Guenther  <rguenther@suse.de>

	* tree-vect-stmt.c (vectorizable_operation): Remove unused vars.

Index: gcc/tree-vect-stmts.c
===================================================================
*** gcc/tree-vect-stmts.c	(revision 170648)
--- gcc/tree-vect-stmts.c	(working copy)
*************** vectorizable_operation (gimple stmt, gim
*** 2238,2244 ****
    int op_type;
    optab optab;
    int icode;
-   enum machine_mode optab_op2_mode;
    tree def;
    gimple def_stmt;
    enum vect_def_type dt[2] = {vect_unknown_def_type, vect_unknown_def_type};
--- 2238,2243 ----
*************** vectorizable_operation (gimple stmt, gim
*** 2251,2258 ****
    int j, i;
    VEC(tree,heap) *vec_oprnds0 = NULL, *vec_oprnds1 = NULL;
    tree vop0, vop1;
-   unsigned int k;
-   bool scalar_shift_arg = false;
    bb_vec_info bb_vinfo = STMT_VINFO_BB_VINFO (stmt_info);
    int vf;
  
--- 2250,2255 ----



More information about the Gcc-patches mailing list