This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH]: Fix bug 4379
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Dec 2001 09:24:19 -0800
- Subject: Re: [C++ PATCH]: Fix bug 4379
--On Monday, December 31, 2001 01:51:16 PM +0000 Nathan Sidwell
> this fixes bug 4379, and a few other pointer to member data problems.
> We were creating pointer to members for data members with reference
> type. Also, we'd create pointers to data member on things like
> &(C::m), which isn't one. If m is static, that is a plain pointer,
> if m is non-static and we are in a member function of C, that is a pointer
> to this->C::m, otherwise it is ill-formed.
> built & tested on i686-pc-linux-gnu, ok?
Yes. This is already fixed on the new parser branch, but in a different
The merge will be a joy.
Mark Mitchell email@example.com
CodeSourcery, LLC http://www.codesourcery.com