This is the mail archive of the
gcc-patches@gcc.gnu.org
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
<nathan@codesourcery.com> wrote:
> Hi,
> 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
way.
The merge will be a joy.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com