https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89648
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- But it got fixed already with r269265. The corresponding testcase from that PR is nowhere close to this one, the testcase doesn't even have any constexpr. So I'll commit the testcase and close this as fixed.