https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118130 Bug 118130 depends on bug 109442, which changed state.
Bug 109442 Summary: Dead local copy of std::vector not removed from function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED