This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ PATCH] Fix PR c++/29993


When fixing PR c++/6628, I missed the case where a typedef of a cv- qualified function type occurs in a class. This minor patch fixes that oversight (reported as PR c++/29993).

Tested i386-apple-darwin8.8.1, no regressions.

Okay for trunk? 4.2?

	Cheers,
	Doug


Attachment: cv_memfunc-cp.patch
Description: Binary data

Attachment: cv_memfunc-testsuite.patch
Description: Binary data


2007-01-22 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-01-22  Douglas Gregor  <doug.gregor@gmail.com>

	PR c++/29993
	* g++.dg/other/cv_func2.C: New.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]