https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120644
Nathaniel Shead <nshead at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |nshead at gcc dot gnu.org --- Comment #12 from Nathaniel Shead <nshead at gcc dot gnu.org> --- This was fixed for most template var decls in r13-2744-g4fac53d6522189, but this missed handling partial specialisations. That said, I think we can just as well get away with only comparing the types of the DECL_TEMPLATE_RESULTs to start with, and then we don't need this workaround at all; I'm testing a patch that does this.