https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86013
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- I wonder if technically shrink_to_fit() is allowed to elide the shrinking? And yes, I'm equally shocked about the need to copy!