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 00:30:30 +0000 (09:30 +0900)
commit879052910cc89217d888d7e5971cab8cd21a6016
tree02dc638cf1da74ae023ec9c8e908f9550fe84c25
parentb7fd0f72ecc634baf61659af6b59a96c0e1c890e
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