https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug 102445 depends on bug 118113, which changed state.
Bug 118113 Summary: std::regex construction from string literal causes out-of-bounds access when compiled with O2 and LTO https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118113 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE