]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/13983 (no warning on some non-POD struct with packed attribute)
authorJason Merrill <jason@gcc.gnu.org>
Thu, 6 Jul 2006 03:33:20 +0000 (23:33 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 6 Jul 2006 03:33:20 +0000 (23:33 -0400)
commit11262a0553bd4912f1712a0a234aa9d622ed4f7e
tree94a7bfa3c7272dbb5116fe74c2920710ab6c21ab
parentb9de35b5e3e626018138ba0da806ff4169486324
re PR c++/13983 (no warning on some non-POD struct with packed attribute)

        PR c++/13983
        PR c++/17519
        * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
        * cp/class.c (check_field_decls): Check TYPE_PACKED after
        stripping array types.

From-SVN: r115220
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/stor-layout.c
gcc/testsuite/g++.dg/ext/packed10.C [new file with mode: 0644]