https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 116695, which changed state.
Bug 116695 Summary: [c++11/c++14] Undefined behaviour involving unsequenced side effects on a memory location during constant evaluation should not compile https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116695 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE