summaryrefslogtreecommitdiffstats
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index d4b266282c7..09bb594eb2b 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -258,7 +258,7 @@ self_referential_size (tree size)
/* Build the parameter and argument lists in parallel; also
substitute the former for the latter in the expression. */
args = VEC_alloc (tree, gc, VEC_length (tree, self_refs));
- for (i = 0; VEC_iterate (tree, self_refs, i, ref); i++)
+ FOR_EACH_VEC_ELT (tree, self_refs, i, ref)
{
tree subst, param_name, param_type, param_decl;
OpenPOWER on IntegriCloud