PR c++/13983
commit2bc7da70381f8e12129c1c470aee18ccaf465e0b
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jul 2006 02:09:02 +0000 (6 02:09 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Jul 2006 02:09:02 +0000 (6 02:09 +0000)
treee5a04b6dd5dab15766d0b02b4b48425818534909
parentd14c819e7e3a6da5fe3a553067fdbe60890b89e5
    PR c++/13983
        PR c++/17519
        * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
        * c-common.c (handle_packed_attribute): So don't copy it here.
        * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
        * cp/class.c (check_field_decls): Check TYPE_PACKED after
        stripping array types.
        (finish_struct_bits): Don't copy TYPE_SIZE here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115217 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/stor-layout.c
gcc/testsuite/g++.dg/ext/packed10.C [new file with mode: 0644]