From: Jason Merrill Date: Wed, 30 Oct 2013 19:50:36 +0000 (-0400) Subject: * init.c (push_base_cleanups): Check ANON_AGGR_TYPE_P. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04056396ec8747e8372364793a0c2a4ea794477d;p=gcc.git * init.c (push_base_cleanups): Check ANON_AGGR_TYPE_P. From-SVN: r204226 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 97e95f41107..f71c239e58f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2013-10-30 Jason Merrill + + * init.c (push_base_cleanups): Check ANON_AGGR_TYPE_P. + 2013-10-30 Tobias Burnus PR other/33426 diff --git a/gcc/cp/init.c b/gcc/cp/init.c index bfd91521050..85732ff3af1 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -4130,7 +4130,7 @@ push_base_cleanups (void) || TREE_CODE (member) != FIELD_DECL || DECL_ARTIFICIAL (member)) continue; - if (ANON_UNION_TYPE_P (this_type)) + if (ANON_AGGR_TYPE_P (this_type)) continue; if (type_build_dtor_call (this_type)) {