https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119866
--- Comment #9 from Barry Revzin <barry.revzin at gmail dot com> --- > I think it was never intentionally supported in constexpr (it just happened > to work) and so such code was never correct. Can it just be made to work in constexpr? Is there a reason not to? It already mostly does.