PR c++/84314 - ICE with templates and fastcall attribute.
authorJason Merrill <jason@redhat.com>
Thu, 15 Feb 2018 16:54:12 +0000 (11:54 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 15 Feb 2018 16:54:12 +0000 (11:54 -0500)
commit5cedffbc3249a3f14ea57567a5f089d502cad8d3
tree1478e723a54aba8f641e33069ff42a56ef1984c1
parente72f7e3e763c1091c0007a851f252f13310f6255
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.

From-SVN: r257695
gcc/ChangeLog
gcc/attribs.c
gcc/testsuite/g++.dg/ext/attrib55.C [new file with mode: 0644]