https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71226
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Bet it is the same issue as PR71229 - in both cases there is an array, initially initialized to all zeros, and somehow cxx_eval_constant_expression on the ARRAY_REF returns NULL which the callers don't expect.