summaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:19:50 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:19:50 +0000
commit323be14faf1754152dcc2a8c0c323b7815b9fcb0 (patch)
tree43e2695d9552a83dc1b59c85197a290e5a84a5e4 /gcc/graphite-poly.h
parent37336b6b59dff14c413bd923e59cceba77edb434 (diff)
downloadgcc-323be14faf1754152dcc2a8c0c323b7815b9fcb0.tar.gz
Use FOR_EACH_VEC_ELT.
2010-09-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.h (lst_dewey_number): Use FOR_EACH_VEC_ELT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r--gcc/graphite-poly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h
index 0e1aa1f0d34..5ed1b048635 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;