diff options
Diffstat (limited to 'gcc/c-family/c-common.c')
-rw-r--r-- | gcc/c-family/c-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index e2a0561c7c6..e2c5d28d08e 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -9300,7 +9300,7 @@ make_tree_vector_copy (const VEC(tree,gc) *orig) ret = make_tree_vector (); VEC_reserve (tree, gc, ret, VEC_length (tree, orig)); - for (ix = 0; VEC_iterate (tree, orig, ix, t); ++ix) + FOR_EACH_VEC_ELT (tree, orig, ix, t) VEC_quick_push (tree, ret, t); return ret; } |