------- Comment #8 from rguenth at gcc dot gnu dot org  2010-04-27 12:14 -------
Subject: Bug 43116

Author: rguenth
Date: Tue Apr 27 12:13:52 2010
New Revision: 158781

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158781
Log:
2010-04-27  Richard Guenther  <rguent...@suse.de>

        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_3-branch/gcc/testsuite/g++.dg/other/pr43116.C
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/attribs.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43116

Reply via email to