This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Reduce direct use of OFFSET_TYPE
- From: Jason Merrill <jason at redhat dot com>
- To: mark at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 09 Aug 2002 22:09:25 +0100
- Subject: Re: C++ PATCH: Reduce direct use of OFFSET_TYPE
- References: <200208092003.g79K3qn13949@localhost.localdomain>
On Fri, 9 Aug 2002 13:03:52 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
> The C++ front-end curiously represents pointer-to-data-memer types as
> POINTER_TYPEs wrapped around OFFSET_TYPEs. Someday we may change that,
> but not now.
We really should get around to this; apparently the POINTER_TYPE confuses
some backends into thinking it's a pointer and doing strange things. Well,
RSN.
> This patch removes some of the places where we are explicitly creating
> OFFSET_TYPEs when what we really want is a pointer-to-member.
Yay.
Jason