https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87847
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 46387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46387&action=edit patch to ignore type_canonical for TTP Does this work better?