OSDN Git Service

PR c++/43116
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Mar 2010 16:37:27 +0000 (16:37 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:13:38 +0000 (14:13 +0900)
commit73572bcdeb06e2f53d62f8d0628c2c3d31e9834d
treeec23ed4eb445f31e07d6887d410deafa45a5aa85
parent8ce3493cafab0d90580e3aa59aa37e96fd62c7a2
PR c++/43116
* attribs.c (decl_attributes): When rebuilding a function pointer
type use the same qualifiers as the original pointer type.

testsuite/
* g++.dg/other/pr43116.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157578 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog