This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: Fix PR 13275


> And I think Gaby's point is that it is simply not possible to abuse
> __builtin_offsetof, whereas __offsetof__ could be used to cheat
> in some instance.  In what way, I'm not sure, but ...

I guess that if someone really wants to spend the time to implement
__builtin_offsetof(type, member) -- and carefully check for good
compatibility with existing practice -- I'm not going to object.

I'm just not going to review the patch, either; I've got better things
to do. :-)

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]