https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117858
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: ``` #include <optional> struct Focus { template<typename T> constexpr explicit Focus(T newValue, int t = 0) { } }; std::optional<Focus> f; void g() { std::optional<Focus> a; f = a; } ```