re PR c++/44282 (fastcall is not mangled at all)
authorJason Merrill <jason@redhat.com>
Tue, 2 Jun 2015 02:28:19 +0000 (22:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 2 Jun 2015 02:28:19 +0000 (22:28 -0400)
commit603eaec49a32f4b409ca8c22e71e6f683c799758
tree1587f66f189daa25f9f3d68dc7bba6b4d6e5e5d6
parent459b4d159247eee08f45d826f17291cf2157529f
re PR c++/44282 (fastcall is not mangled at all)

PR c++/44282
gcc/cp/
* mangle.c (attr_strcmp): New.
(write_CV_qualifiers_for_type): Also write out attributes that
affect type identity.
(write_type): Strip all attributes after writing qualifiers.
libiberty/
* cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
extended qualifier.

From-SVN: r224007
gcc/c-family/c-opts.c
gcc/common.opt
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/testsuite/g++.dg/abi/macro0.C
gcc/testsuite/g++.dg/abi/mangle-regparm.C [new file with mode: 0644]
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected