diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 2ec325b..94da8a0 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -4795,11 +4795,11 @@ layout_class_type (t, empty_p, vfuns_p, place_field (rli, vptr); } + /* Build FIELD_DECLs for all of the non-virtual base-types. */ + v = build_base_fields (rli, empty_p); /* Add pointers to all of our virtual base-classes. */ TYPE_FIELDS (t) = chainon (build_vbase_pointer_fields (rli, empty_p), TYPE_FIELDS (t)); - /* Build FIELD_DECLs for all of the non-virtual base-types. */ - v = build_base_fields (rli, empty_p); /* CLASSTYPE_INLINE_FRIENDS is really TYPE_NONCOPIED_PARTS. Thus, we have to save this before we start modifying |