Refer to base members using COMPONENT_REFs where possible.
authorJason Merrill <jason@redhat.com>
Fri, 30 Apr 2004 17:25:42 +0000 (13:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 30 Apr 2004 17:25:42 +0000 (13:25 -0400)
commit00bfffa4c0730935f8cb16d59a72683b6d4c82bd
tree4ac93946f88f9d873dc4b509f6b118ec816ee667
parented9676cf0ca3101a8933826b0dcc9aacae689f23
Refer to base members using COMPONENT_REFs where possible.

        * class.c (build_simple_base_path): New fn.
        (build_base_path): Use it for non-virtual base references.
        (layout_class_type): Change base fields to their real type
        after layout is done.
        * cp-tree.h (IS_FAKE_BASE_TYPE): New macro.
        * cp-lang.c (cxx_get_alias_set): Use it.

From-SVN: r81349
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-lang.c
gcc/cp/cp-tree.h