This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29993] typdef declaration of cv-qualified function in class
- From: "dgregor at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2007 12:31:51 -0000
- Subject: [Bug c++/29993] typdef declaration of cv-qualified function in class
- References: <bug-29993-10812@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dgregor at gcc dot gnu dot org 2007-03-28 13:31 -------
Subject: Bug 29993
Author: dgregor
Date: Wed Mar 28 13:31:37 2007
New Revision: 123294
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123294
Log:
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
PR c++/29993
* decl.c (grokdeclarator): Deal with cv-qualified function type
typedefs in the same way for member and non-member functions.
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
PR c++/29993
* g++.dg/other/cv_func2.C: New.
Added:
trunk/gcc/testsuite/g++.dg/other/cv_func2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29993