* tree-ssa-math-opts.c (is_widening_mult_rhs_p): Delete rhs_code
declaration and setter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190534
138bc75d-0d04-0410-961f-
82ee72b054a4
2012-08-20 Richard Earnshaw <rearnsha@arm.com>
PR tree-ssa/54295
+ * tree-ssa-math-opts.c (is_widening_mult_rhs_p): Delete rhs_code
+ declaration and setter.
+
+2012-08-20 Richard Earnshaw <rearnsha@arm.com>
+
+ PR tree-ssa/54295
* tree-ssa-math-opts.c (widening_mult_conversion_strippable_p):
New function.
(is_widening_mult_rhs_p): Use it.
{
gimple stmt;
tree type1, rhs1;
- enum tree_code rhs_code;
if (TREE_CODE (rhs) == SSA_NAME)
{
stmt = SSA_NAME_DEF_STMT (rhs);
if (is_gimple_assign (stmt))
{
- rhs_code = gimple_assign_rhs_code (stmt);
if (! widening_mult_conversion_strippable_p (type, stmt))
rhs1 = rhs;
else