https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41723
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:c2e39b9e1568484192c3a4c2b4425b06e701a3fe commit r10-10730-gc2e39b9e1568484192c3a4c2b4425b06e701a3fe Author: Jason Merrill <ja...@redhat.com> Date: Thu May 12 17:08:52 2022 -0400 Revert "c++: friend with redundant qualification [PR41723]" PR c++/102300 PR c++/41723 The patch for PR41723 caused PR102300 on trunk; let's just back it out on the 10 branch. This reverts commit e41d610696b81e72d1d06db176b281424e32fc23. gcc/testsuite/ChangeLog: * g++.dg/template/nested7.C: New test.