re PR c++/43116 (ICE when using attributes in a function alias declaration)
commitf9ceed32dc9196ddcd2551526637369910a8407b
authorMichael Matz <matz@suse.de>
Fri, 19 Mar 2010 16:37:27 +0000 (19 16:37 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Fri, 19 Mar 2010 16:37:27 +0000 (19 16:37 +0000)
treea2dcdc35ffed6fba09f04d6569bb5b40c33fbe1e
parent3795eae6647e2bcac4b998b194150cafee27906f
re PR c++/43116 (ICE when using attributes in a function alias declaration)

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.

From-SVN: r157578
gcc/ChangeLog
gcc/attribs.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr43116.C [new file with mode: 0644]