https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 104336, which changed state.
Bug 104336 Summary: bogus -Wrestrict for std::string assignment with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104336 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE