https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115878
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|C++23: this int argument |C++23: this int argument |with value 0 considered as |with value 0 considered as |dereferencing a null |dereferencing a null |pointer |pointer in constexpr Blocks| |55004 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note there is an open defect in this area though: https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2688 But the issue in constexpr is in that check I pointed to. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 [Bug 55004] [meta-bug] constexpr issues