diff options
-rw-r--r-- | gcc/cp/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 1439833..20be4eb 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -3181,7 +3181,7 @@ check_field_decls (tree t, tree *access_decls, element_type = strip_array_types (type); if (CLASS_TYPE_P (element_type) && CLASSTYPE_CONTAINS_EMPTY_CLASS_P (element_type)) - CLASSTYPE_CONTAINS_EMPTY_CLASS_P (element_type) = 1; + CLASSTYPE_CONTAINS_EMPTY_CLASS_P (t) = 1; } } |