re PR c++/26670 (attribute((packed)) sometimes not ignored for non-PODs)

PR c++/26670
        * class.c (check_field_decls): Unset TYPE_PACKED (t) if one of the
        fields can't be packed.

From-SVN: r116556
This commit is contained in:
Jason Merrill 2006-08-29 03:10:38 -04:00
parent 4666cd0446
commit e883464cc4
1 changed files with 4 additions and 0 deletions

View 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.