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)
* 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

index faed150..c255935 100644 (file)
@@ -1,3 +1,9 @@
+2010-03-19  Michael Matz  <matz@suse.de>
+
+       PR c++/43116
+       * attribs.c (decl_attributes): When rebuilding a function pointer
+       type use the same qualifiers as the original pointer type.
+
 2010-03-19  Martin Jambor  <mjambor@suse.cz>
 
        * doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant
index 3970547..758456e 100644 (file)
@@ -1,5 +1,10 @@
 2010-03-19  Michael Matz  <matz@suse.de>
 
+       PR c++/43116
+       * g++.dg/other/pr43116.C: New testcase.
+
+2010-03-19  Michael Matz  <matz@suse.de>
+
        PR target/43305
        * gcc.dg/pr43305.c: New testcase.