https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117639
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |118130 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- One thing I should note is that adding -std=c++20 inlines _M_realloc_append and this gets optimized with -O3. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118130 [Bug 118130] std::vector code quality issues