diff options
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r-- | gcc/cp/repo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index 2a08c8fa412..22d58af0f84 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -267,9 +267,7 @@ finish_repo (void) fprintf (repo_file, "\n"); } - for (ix = VEC_length (tree, pending_repo) - 1; - VEC_iterate (tree, pending_repo, ix, val); - ix--) + FOR_EACH_VEC_ELT_REVERSE (tree, pending_repo, ix, val) { tree name = DECL_ASSEMBLER_NAME (val); char type = IDENTIFIER_REPO_CHOSEN (name) ? 'C' : 'O'; |