https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70375 Bug 70375 depends on bug 57533, which changed state.
Bug 57533 Summary: When throwing local variable, it's being move-constructed even if not going out of scope. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57533 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED