+2015-06-30 Sandra Loosemore <sandra@codesourcery.com>
+
+ * config/c6x/c6x.c (try_rename_operands): Do not depend on
+ gcc_assert evaluating its argument for side-effect.
+
2015-06-30 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/64833
int best_reg, old_reg;
vec<du_head_p> involved_chains = vNULL;
unit_req_table new_reqs;
+ bool ok;
for (i = 0, tmp_mask = op_mask; tmp_mask; i++)
{
best_reg =
find_rename_reg (this_head, super_class, &unavailable, old_reg, true);
- gcc_assert (regrename_do_replace (this_head, best_reg));
+ ok = regrename_do_replace (this_head, best_reg);
+ gcc_assert (ok);
count_unit_reqs (new_reqs, head, PREV_INSN (tail));
merge_unit_reqs (new_reqs);
unit_req_imbalance (reqs), unit_req_imbalance (new_reqs));
}
if (unit_req_imbalance (new_reqs) > unit_req_imbalance (reqs))
- gcc_assert (regrename_do_replace (this_head, old_reg));
+ {
+ ok = regrename_do_replace (this_head, old_reg);
+ gcc_assert (ok);
+ }
else
memcpy (reqs, new_reqs, sizeof (unit_req_table));