https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108258
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:1530a9b1f45a7ceb333f3e1abad65e587679690f commit r13-4991-g1530a9b1f45a7ceb333f3e1abad65e587679690f Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Jan 4 11:49:19 2023 +0000 libstdc++: Fix std::array<T, 0>::data() to be a constant expression [PR108258] When I refactored the __array_traits helper I broke this. libstdc++-v3/ChangeLog: PR libstdc++/108258 * include/std/array (__array_traits<T, 0>::operator T*()): Add constexpr. * testsuite/23_containers/array/element_access/constexpr_c++17.cc: Check std::array<T, 0>::data().