This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][committed] Fix TREE_OPERAND to GIMPLE_STMT_OPERAND conversion leftover


Applied as obvious.

Richard.

2006-12-07  Richard Guenther  <rguenther@suse.de>

	* tree-vect-transform.c (vectorizable_call): Fix leftover of
	TREE_OPERAND to GIMPLE_STMT_OPERAND conversion.

Index: tree-vect-transform.c
===================================================================
*** tree-vect-transform.c	(revision 119609)
--- tree-vect-transform.c	(working copy)
*************** vectorizable_call (tree stmt, block_stmt
*** 1714,1720 ****
       to the new definition.  So just replace rhs of the statement with something
       harmless.  */
    type = TREE_TYPE (scalar_dest);
!   TREE_OPERAND (stmt, 1) = fold_convert (type, integer_zero_node);
  
    return true;
  }
--- 1714,1720 ----
       to the new definition.  So just replace rhs of the statement with something
       harmless.  */
    type = TREE_TYPE (scalar_dest);
!   GIMPLE_STMT_OPERAND (stmt, 1) = fold_convert (type, integer_zero_node);
  
    return true;
  }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]