PR c++/84314 - ICE with templates and fastcall attribute.
commit7422ddf0036a7410dd7192722719010764c1730c
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Feb 2018 16:54:12 +0000 (15 16:54 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Feb 2018 16:54:12 +0000 (15 16:54 +0000)
tree1478e723a54aba8f641e33069ff42a56ef1984c1
parent10ab0ab7052d7a8505b7d8056ba52c22c96b78c0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257695 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/attribs.c
gcc/testsuite/g++.dg/ext/attrib55.C [new file with mode: 0644]