From 69ac2bb6d54037525026b8db372fdca31e5f40bf Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Thu, 30 Sep 2010 21:19:50 +0000 Subject: Use FOR_EACH_VEC_ELT. 2010-09-09 Sebastian Pop * graphite-poly.h (lst_dewey_number): Use FOR_EACH_VEC_ELT. From-SVN: r164797 --- gcc/graphite-poly.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/graphite-poly.h') diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h index 0e1aa1f..5ed1b04 100644 --- a/gcc/graphite-poly.h +++ b/gcc/graphite-poly.h @@ -843,7 +843,7 @@ lst_dewey_number (lst_p lst) if (!LST_LOOP_FATHER (lst)) return 0; - for (i = 0; VEC_iterate (lst_p, LST_SEQ (LST_LOOP_FATHER (lst)), i, l); i++) + FOR_EACH_VEC_ELT (lst_p, LST_SEQ (LST_LOOP_FATHER (lst)), i, l) if (l == lst) return i; -- cgit v1.1