https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98450
--- Comment #1 from maic <maic23 at live dot de> --- As a temporary workaround to suppress the erroneous warning, `auto` can be used: $ cat /tmp/c.cpp #include <array> static constexpr auto bay = std::array{9}; static constexpr std::array<int, 1> bax{9};