This is the mail archive of the gcc@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: record_component_aliases will not record the bases with no field declaration


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


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