[Bug c++/93676] [8/9/10 Regression] crash in build_value_init

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 11 18:19:00 GMT 2020


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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
A bit shorter test:

struct P {
  int x = 0;
};

template<class T>
struct S {
  S() { new P[2][2]; }
};


More information about the Gcc-bugs mailing list