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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
And that also means that this:

enum E : int { F };
struct X {
  E e{F};
};

constexpr X x[1]{};

constexpr auto
foo ()
{
  return x[0].e;
}

constexpr auto a = foo ();

started to ICE earlier, since r10-6437.

Reply via email to