https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70543
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> --- Reduced further: template <typename> struct X { template <unsigned int = 0> static constexpr int calc (void) { return 0; } static constexpr unsigned int value = calc (); // <<<<<<< char foo[value]; };