diff options
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 5e070bc..52b0813 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -2544,10 +2544,11 @@ rewrite_constraints (constraint_graph_t graph, int i; constraint_t c; -#ifdef ENABLE_CHECKING - for (unsigned int j = 0; j < graph->size; j++) - gcc_assert (find (j) == j); -#endif + if (flag_checking) + { + for (unsigned int j = 0; j < graph->size; j++) + gcc_assert (find (j) == j); + } FOR_EACH_VEC_ELT (constraints, i, c) { |