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] Unify member pointer to member function pointer


Hello,
This patch for mainline CVS allows unification between a member pointer and a member function pointer, as required by section 8.3.3 of the C++ standard. It fixes the attached test case and one that has been XFAIL'd forever (g++.old-deja/g++.pt/memptr5.C).


Tested on powerpc-apple-darwin7.7.0. The two test cases mentioned above now pass; no regressions on the g++ tests, libstdc++-v3 builds fine, and no regressions on the libstdc++-v3 tests.

	Doug Gregor
	dgregor@cs.indiana.edu

Attachment: ptr-memfunc-unify-mainline.patch
Description: Binary data


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