https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77495 Bug 77495 depends on bug 77288, which changed state.
Bug 77288 Summary: Std::experimental::optional::operator= implementation is broken in gcc 6.1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77288 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED