record_component_aliases will not record the bases with no field declaration
Richard Biener
richard.guenther@gmail.com
Fri Aug 29 10:12:00 GMT 2014
On Fri, Aug 29, 2014 at 11:50 AM, lin zuojian <manjian2006@gmail.com> wrote:
> Hi,
> record_component_aliases only handle fields of a record type, and
> would ignore the base of this record if the base has no field
> declaration.
> Is this a bug or on purpose?
It's on purpose as you can't "access" that base and thus the base is
meaningless for alias analysis.
Richard.
> Thanks.
> --
> Lin Zuojian
More information about the Gcc
mailing list