This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Fix PR 13275
On Wed, 2003-12-17 at 18:04, Gabriel Dos Reis wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
>
> | On Wed, 2003-12-17 at 16:03, Zack Weinberg wrote:
> | > Richard Henderson <rth@redhat.com> writes:
> | >
> | > > On Tue, Dec 16, 2003 at 04:46:51PM -0800, Zack Weinberg wrote:
> | > >> "Objected" is too strong a word. "Would prefer __builtin_offsetof but
> | > >> is open to demonstrations that this is too hard" is more accurate.
> | > >
> | > > The following patch appears to work for C. I would recind my
> | > > earlier claim that it made the grammar too nasty.
> | > >
> | > > Given this, does this seem the approach we want to take?
> | >
> | > I like the looks of this but I wonder what the analogous change over
> | > in the C++ front end is going to look like.
> |
> | The implementation of offsetof I committed meets the requirements
> | imposed by the C++ standard.
>
> No, it does not.
Why not?
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC