This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r157633 - in /branches/gcc-4_4-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 22 Mar 2010 15:03:45 -0000
- Subject: r157633 - in /branches/gcc-4_4-branch/gcc: Chan...
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 <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.
* 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