https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97966
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:1004d3bb5e590a2cc3d22bc9fb11d3bf4978a982 commit r10-9695-g1004d3bb5e590a2cc3d22bc9fb11d3bf4978a982 Author: Marek Polacek <pola...@redhat.com> Date: Sun Apr 11 16:58:09 2021 -0400 c++: Use FOR_EACH_VEC_ELT instead of range-based for loop. gcc/cp/ChangeLog: PR c++/97966 * pt.c (instantiate_class_template_1): Use FOR_EACH_VEC_ELT instead of range-based for loop.