https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99456
--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:e6ae0de72ef696c4016cc66c53a4aa49a1e900a6 commit r16-55-ge6ae0de72ef696c4016cc66c53a4aa49a1e900a6 Author: Jason Merrill <ja...@redhat.com> Date: Wed Mar 5 16:42:32 2025 -0500 c++: static constexpr strictness [PR99456] r11-7740 limited constexpr rejection of conversion from pointer to integer to manifestly constant-evaluated contexts; it should instead check whether we're in strict mode. The comment for that commit noted that making this change regressed other tests, which turned out to be because maybe_constant_init_1 was not being properly strict for variables declared constexpr/constinit. PR c++/99456 gcc/cp/ChangeLog: * constexpr.cc (cxx_eval_constant_expression): Check strict instead of manifestly_const_eval. (maybe_constant_init_1): Be strict for static constexpr vars.