https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96241
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- Another testcase on which we ICE after r10-6437: enum enu { o }; struct s { int e = o; }; constexpr int foo() { s data[1]; return data[0].e; } static_assert(foo() == 0, "");