This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ vs. aliasing
>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:
>>>>> Mark Mitchell <mark@codesourcery.com> writes:
>> Kenner's recent aliasing changes weren't safe in C++; a C++
>> RECORD_TYPEs TYPE_FIELDs list does not list base classes, which
>> means that we could miss possible aliases.
Jason> We could look through TYPE_BINFO_BASETYPES.
Indeed. That was my long-term plan. :-)
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com