https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87651 Bug 87651 depends on bug 86747, which changed state.
Bug 86747 Summary: [8 Regression] rejects-valid with redundant friend declaration https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86747 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED