https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
A similar test that doesn't use op=:
struct Y
{
int a;
};
struct X
{
Y b = Y{1};
Y c = this->b;
};
constexpr X o = { };
static_assert(o.b.a == 1 && o.c.a == 1, "");
