diff options
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r-- | gcc/tree-predcom.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c index 4abac13..5f6e1b0 100644 --- a/gcc/tree-predcom.c +++ b/gcc/tree-predcom.c @@ -896,13 +896,9 @@ suitable_component_p (struct loop *loop, struct component *comp) if (!determine_offset (first->ref, a->ref, &a->offset)) return false; -#ifdef ENABLE_CHECKING - { - enum ref_step_type a_step; - ok = suitable_reference_p (a->ref, &a_step); - gcc_assert (ok && a_step == comp->comp_step); - } -#endif + enum ref_step_type a_step; + gcc_checking_assert (suitable_reference_p (a->ref, &a_step) + && a_step == comp->comp_step); } /* If there is a write inside the component, we must know whether the |