https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80641
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|diagnostic | Summary|[7/8 Regression] Warning |missed optimization with |with std::vector resize in |with std::vector resize in |loop |loop --- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- With the libstdc++ patch committed in r255753 the warning is no longer issued. Pursuant to Jeff's comment #7 I've removed the regression marker and retitled the bug. To reproduce the missing optimization (and the warning) the libstdc++ patch needs to be reverted.