* gcc/reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.

From-SVN: r195719
This commit is contained in:
Matthew Gretton-Dann 2013-02-04 16:23:38 +00:00 committed by Jeff Law
parent b11976a700
commit 2b5987b550
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
* gcc/reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
2013-02-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/56188

View File

@ -6313,14 +6313,14 @@ subst_reloads (rtx insn)
for (check_regno = 0; check_regno < max_regno; check_regno++)
{
#define CHECK_MODF(ARRAY) \
gcc_assert (!reg_equivs[check_regno].ARRAY \
gcc_assert (!(*reg_equivs)[check_regno].ARRAY \
|| !loc_mentioned_in_p (r->where, \
reg_equivs[check_regno).ARRAY)]
(*reg_equivs)[check_regno].ARRAY))
CHECK_MODF (equiv_constant);
CHECK_MODF (equiv_memory_loc);
CHECK_MODF (equiv_address);
CHECK_MODF (equiv_mem);
CHECK_MODF (constant);
CHECK_MODF (memory_loc);
CHECK_MODF (address);
CHECK_MODF (mem);
#undef CHECK_MODF
}
#endif /* DEBUG_RELOAD */