[Bug c++/94155] internal compiler error: in gimplify_init_ctor_eval, at gimplify.c:4664

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 27 21:17:37 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94155

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Even simpler:

struct S { int i, j; };

struct A {
  S s;
  constexpr A(S e) : s(e) {}
};

void
f()
{
  A g[1]({{1, 1}});
}


More information about the Gcc-bugs mailing list