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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
A sufficiently large 1D array is sufficient as well as an element type that has
a constexpr default constructor:

#include <array>

struct X
{
  int a;

  constexpr X () : a (0) { }
};

const int N = 1 << 19;

std::array<X, N> F;

Reply via email to