2011-12-13 Richard Guenther <rguenther@suse.de>
PR middle-end/51481
* tree-cfg.c (replace_uses_by): Pass proper arguments to
maybe_clean_or_replace_eh_stmt.
From-SVN: r182280
+2011-12-13 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/51481
+ * tree-cfg.c (replace_uses_by): Pass proper arguments to
+ maybe_clean_or_replace_eh_stmt.
+
2011-12-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51519
if (gimple_code (stmt) != GIMPLE_PHI)
{
gimple_stmt_iterator gsi = gsi_for_stmt (stmt);
+ gimple orig_stmt = stmt;
size_t i;
fold_stmt (&gsi);
recompute_tree_invariant_for_addr_expr (op);
}
- maybe_clean_or_replace_eh_stmt (stmt, stmt);
+ maybe_clean_or_replace_eh_stmt (orig_stmt, stmt);
update_stmt (stmt);
}
}