https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95726
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > Dunno, perhaps for backporting it could be done in template_args_equal > instead? For backporting we could treat them as different only if comparing_specializations is set.