re PR c++/48008 (libstdc++-v3/testsuite/20_util/function/43397.cc fails to assemble...
authorJason Merrill <jason@redhat.com>
Mon, 7 Mar 2011 20:10:44 +0000 (15:10 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 7 Mar 2011 20:10:44 +0000 (15:10 -0500)
commit27062604920c7180050961af306f45b262aba93b
tree7114f34248ea1d2ab3cc3d8acb50bc5ed266d1b1
parent43070a6e9b83d07021fb1a9c70e9358a0d76e004
re PR c++/48008 (libstdc++-v3/testsuite/20_util/function/43397.cc fails to assemble with -fabi-version=5)

PR c++/48008
* mangle.c (write_type): Strip cv-quals from FUNCTION_TYPE here.
(write_CV_qualifiers_for_type): Not here.

From-SVN: r170752
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle46.C [new file with mode: 0644]