C++ PATCH: Reduce direct use of OFFSET_TYPE

Jason Merrill jason@redhat.com
Fri Aug 9 14:10:00 GMT 2002


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



More information about the Gcc-patches mailing list