https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26022 Bug 26022 depends on bug 24437, which changed state.
Bug 24437 Summary: OBJ_TYPE_REF handling in fold_stmt should be moved to fold https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24437 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX