https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84314
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Feb 15 16:54:12 2018 New Revision: 257695 URL: https://gcc.gnu.org/viewcvs?rev=257695&root=gcc&view=rev Log: PR c++/84314 - ICE with templates and fastcall attribute. * attribs.c (build_type_attribute_qual_variant): Don't clobber TYPE_CANONICAL on an existing type. Added: trunk/gcc/testsuite/g++.dg/ext/attrib55.C Modified: trunk/gcc/ChangeLog trunk/gcc/attribs.c