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 f7e0a93..1bab07d 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -5044,6 +5044,7 @@ layout_class_type (tree t, tree *virtuals_p) /* G++ used to use DECL_FIELD_OFFSET as if it were the byte offset of the field. */ if (warn_abi + && !abi_version_at_least (2) && !tree_int_cst_equal (DECL_FIELD_OFFSET (field), byte_position (field)) && contains_empty_class_p (TREE_TYPE (field))) |