* init.c (push_base_cleanups): Check ANON_AGGR_TYPE_P.
authorJason Merrill <jason@redhat.com>
Wed, 30 Oct 2013 19:50:36 +0000 (15:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 30 Oct 2013 19:50:36 +0000 (15:50 -0400)
From-SVN: r204226

gcc/cp/ChangeLog
gcc/cp/init.c

index 97e95f41107c2c8aa0ba103d700439de8af17cba..f71c239e58f3c5e7b5a96784bce72746d727cf65 100644 (file)
@@ -1,3 +1,7 @@
+2013-10-30  Jason Merrill  <jason@redhat.com>
+
+       * init.c (push_base_cleanups): Check ANON_AGGR_TYPE_P.
+
 2013-10-30  Tobias Burnus  <burnus@net-b.de>
 
        PR other/33426
index bfd91521050b4d6923dc1454432dcc64ecf84354..85732ff3af14926abc029ae2457853feb76505a5 100644 (file)
@@ -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))
        {