diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 18e7db0..73291b3 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -6393,6 +6393,7 @@ layout_class_type (tree t, tree *virtuals_p) SET_TYPE_ALIGN (base_t, rli->record_align); TYPE_USER_ALIGN (base_t) = TYPE_USER_ALIGN (t); TYPE_TYPELESS_STORAGE (base_t) = TYPE_TYPELESS_STORAGE (t); + TYPE_CXX_ODR_P (base_t) = TYPE_CXX_ODR_P (t); /* Copy the non-static data members of T. This will include its direct non-virtual bases & vtable. */ |