------- Comment #6 from jakub at gcc dot gnu dot org 2010-03-22 15:04 ------- Subject: Bug 43116
Author: jakub Date: Mon Mar 22 15:03:45 2010 New Revision: 157633 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157633 Log: Backport from mainline: 2010-03-19 Michael Matz <m...@suse.de> PR c++/43116 * attribs.c (decl_attributes): When rebuilding a function pointer type use the same qualifiers as the original pointer type. * g++.dg/other/pr43116.C: New testcase. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/other/pr43116.C Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/attribs.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43116