https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695
--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Well, you don't need to use {,vec_}{safe,quick}_push etc. all the time, just have auto_vec in there and use .address () on it to give you pointer to the elements and then .length () / .allocated () and .reserve () to ask for more elements.