https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 60760, which changed state.
Bug 60760 Summary: arithmetic on null pointers should not be allowed in constant expressions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED