https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97048 Bug 97048 depends on bug 111118, which changed state.
Bug 111118 Summary: Bogus -Wstringop-overread with -std=gnu++20 -O2 and std::vector<bool> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111118 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE