+2010-11-15 Richard Guenther <rguenther@suse.de>
+
+ PR bootstrap/46474
+ * tree-ssa-math-opts.c (convert_mult_to_fma): Disregard debug stmts.
+
2010-11-15 Nick Clifton <nickc@redhat.com>
* config/stormy16/stormy16.c (direct_return): Do not generate a
use_stmt = USE_STMT (use_p);
+ if (is_gimple_debug (use_stmt))
+ continue;
+
/* For now restrict this operations to single basic blocks. In theory
we would want to support sinking the multiplication in
m = a*b;
FOR_EACH_IMM_USE_STMT (use_stmt, imm_iter, mul_result)
{
gimple_stmt_iterator gsi = gsi_for_stmt (use_stmt);
- enum tree_code use_code = gimple_assign_rhs_code (use_stmt);
+ enum tree_code use_code;
tree addop, mulop1, result = mul_result;
bool negate_p = false;
+ if (is_gimple_debug (use_stmt))
+ continue;
+
+ use_code = gimple_assign_rhs_code (use_stmt);
if (use_code == NEGATE_EXPR)
{
result = gimple_assign_lhs (use_stmt);