.:
PR c++/21166 * c-decl.c (finish_struct): Only set DECL_PACKED on a field when its natural alignment is > BITS_PER_UNIT. * stor-layout.c (finalize_type_size): Revert my patch of 2005-08-08. * c-common.c (handle_packed_attribute): Ignore packing on a field whose type is naturally char aligned. cp: PR c++/21166 * class.c (check_field_decls): Only set DECL_PACKED on a field when its natural alignment is > BITS_PER_UNIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107599 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 9 additions, 0 deletionsgcc/ChangeLog
- gcc/c-common.c 10 additions, 4 deletionsgcc/c-common.c
- gcc/c-decl.c 3 additions, 1 deletiongcc/c-decl.c
- gcc/cp/ChangeLog 6 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/class.c 1 addition, 1 deletiongcc/cp/class.c
- gcc/stor-layout.c 0 additions, 11 deletionsgcc/stor-layout.c
Loading
Please register or sign in to comment