diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-09-30 21:19:50 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-09-30 21:19:50 +0000 |
commit | 69ac2bb6d54037525026b8db372fdca31e5f40bf (patch) | |
tree | 43e2695d9552a83dc1b59c85197a290e5a84a5e4 /gcc/graphite-poly.h | |
parent | 0706c754ab81706e1508a958aae00f0490436200 (diff) | |
download | gcc-69ac2bb6d54037525026b8db372fdca31e5f40bf.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.
From-SVN: r164797
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r-- | gcc/graphite-poly.h | 2 |
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; |