diff options
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 20b44e3ed04..351e685a687 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -1104,9 +1104,7 @@ perform_deferred_noexcept_checks (void) int i; pending_noexcept *p; location_t saved_loc = input_location; - for (i = 0; - VEC_iterate (pending_noexcept, pending_noexcept_checks, i, p); - ++i) + FOR_EACH_VEC_ELT (pending_noexcept, pending_noexcept_checks, i, p) { input_location = p->loc; maybe_noexcept_warning (p->fn); |