re PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)
authorJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2006 07:10:38 +0000 (03:10 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2006 07:10:38 +0000 (03:10 -0400)
        PR c++/26670
        * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
        fields can't be packed.

From-SVN: r116556

gcc/cp/ChangeLog

index b8cc3bab3cfb3af89ad40a8118fc0de388062dd2..84c02edf5f0541ae5adf6b3c570c6c85e924965d 100644 (file)
@@ -1,5 +1,9 @@
 2006-08-28  Jason Merrill  <jason@redhat.com>
 
+       PR c++/26670
+       * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
+       fields can't be packed.
+
        PR c++/26577
        * cvt.c (convert_to_void): Don't automatically load from volatiles 
        of TREE_ADDRESSABLE type.