https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 111379, which changed state.
Bug 111379 Summary: comparison between unequal pointers to void should be illegal during constant evaluation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111379 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX