https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117966
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think the error is actually identifying a real bug: we can't create a global std::span that stores a pointer to a temporary std::array. The pointer immediately dangles. The global std::span can never be used.