* gcc/reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
authorMatthew Gretton-Dann <matthew.gretton-dann@linaro.org>
Mon, 4 Feb 2013 16:23:38 +0000 (16:23 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 4 Feb 2013 16:23:38 +0000 (09:23 -0700)
From-SVN: r195719

gcc/ChangeLog
gcc/reload.c

index 597c8ba..138f6d4 100644 (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
index 889a6cc..2546c1b 100644 (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 */