https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87651
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Known to work| |9.0 Depends on| |86747 Resolution|FIXED |--- Summary|[8/9 Regression] inner |[8 Regression] inner class |class with template |with template template |template friend declaration |friend declaration of same |of same name fails to |name fails to compile in |compile in gcc 8.1, 8.2, |gcc 8.1, 8.2, and 9.0 |and 9.0 | --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- But not fixed on gcc-8-branch, so it should be kept open until the regression is fixed. Started to compile with r266875, which fixed: [PR86747] tsubst friend tpl ctxt before looking it up for dupes Possibly a dup of that one. It might get fixed when that is backported to gcc-8-branch. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86747 [Bug 86747] [8 Regression] rejects-valid with redundant friend declaration